Ruby Newbie homepage Ruby Newbie homepage

How to use

Quick guide

Official content
Since int is already an Integer, returns self.
 
               # File numeric.rb, line 218
def to_int
  return self
end
            

Was this page useful?