In Files

  • mrblib/numeric.rb

Parent

Included Modules

Integer

Integer

ISO 15.2.8

Public Instance Methods

ceil() click to toggle source

Returns the receiver simply.

ISO 15.2.8.3.14

 
               # File mrblib/numeric.rb, line 140
def ceil
  self
end
            
floor() click to toggle source

Returns the receiver simply.

ISO 15.2.8.3.17

 
               # File mrblib/numeric.rb, line 148
def floor
  self
end
            
Also aliased as: round, truncate
round() click to toggle source

Returns the receiver simply.

ISO 15.2.8.3.24

Alias for: floor
truncate() click to toggle source

Returns the receiver simply.

ISO 15.2.8.3.26

Alias for: floor