Class: Numeric
- Inherits:
-
Object
- Object
- Numeric
- Defined in:
- lib/ruby_area/core_ext.rb
Instance Method Summary collapse
Instance Method Details
#perch ⇒ Object
6 7 8 |
# File 'lib/ruby_area/core_ext.rb', line 6 def perch ::RubyArea::Units::Perch.new(self) end |
#square_foot ⇒ Object
10 11 12 |
# File 'lib/ruby_area/core_ext.rb', line 10 def square_foot ::RubyArea::Units::SquareFoot.new(self) end |
#square_meter ⇒ Object
14 15 16 |
# File 'lib/ruby_area/core_ext.rb', line 14 def square_meter ::RubyArea::Units::SquareMeter.new(self) end |