Sha256: 939c6668da508df435383b7ceb63a471a7abed6e86992e1e605f4398db6eab40

Contents?: true

Size: 227 Bytes

Versions: 1

Compression:

Stored size: 227 Bytes

Contents

module RubyArea
  module Units
    class SquareMeter
      attr_accessor :value
      
      def initialize value
        @value = value
      end

      def to_square_foot
        @value * 10.7639 
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby_area-0.0.1 lib/ruby_area/units/square_meter.rb