class Fixnum

MEASUREMENT HELPERS

Public Instance Methods

feet() click to toggle source
# File lib/rumba/dsl.rb, line 77
def feet
  self.inches * 12
end
Also aliased as: foot
foot()
Alias for: feet
inch()
Alias for: inches
inches() click to toggle source
# File lib/rumba/dsl.rb, line 72
def inches
  25.4 * self
end
Also aliased as: inch
meter()
Alias for: meters
meters() click to toggle source
# File lib/rumba/dsl.rb, line 82
def meters
  self * 1000
end
Also aliased as: meter