Sha256: 93ef41ca2aca8e2b1ebe3ec5c3dad2fe44d02c58be7140c812b0a7766d90ae18

Contents?: true

Size: 325 Bytes

Versions: 1

Compression:

Stored size: 325 Bytes

Contents

require 'ruby_area/units/perch'
require 'ruby_area/units/square_meter'
require 'ruby_area/units/square_foot'

class Numeric
  def perch
    ::RubyArea::Units::Perch.new(self)
  end

  def square_foot
    ::RubyArea::Units::SquareFoot.new(self)
  end

  def square_meter
    ::RubyArea::Units::SquareMeter.new(self)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby_area-0.0.1 lib/ruby_area/core_ext.rb