class RubyArea::Units::SquareFoot
Attributes
value[RW]
Public Class Methods
new(value)
click to toggle source
# File lib/ruby_area/units/square_foot.rb, line 6 def initialize value @value = value end
Public Instance Methods
to_square_meter()
click to toggle source
# File lib/ruby_area/units/square_foot.rb, line 10 def to_square_meter @value * 0.092903 end