int.ord â self
Instance Public methods
Returns the int itself.
1 | ?a.ord #=> 97 |
This method is intended for compatibility to character constant in Ruby 1.9. For example, ?a.ord returns 97 both in 1.8 and 1.9.
Returns the int itself.
1 | ?a.ord #=> 97 |
This method is intended for compatibility to character constant in Ruby 1.9. For example, ?a.ord returns 97 both in 1.8 and 1.9.
Designed by : w10schools
service@w10schools.com
Please login to continue.