Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Integer/ord-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns the int itself.
- !ruby/struct:SM::Flow::VERB
body: " ?a.ord #=> 97\n"
- !ruby/struct:SM::Flow::P
body: 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.
full_name: Integer#ord
is_singleton: false
name: ord
params: |
int.ord => int
visibility: public