Sha256: 9ea940606116f705b778f535cb692e464e3ea36eb6bb7c689305e3e0e54c7c36

Contents?: true

Size: 237 Bytes

Versions: 3

Compression:

Stored size: 237 Bytes

Contents

require 'geometer/version'

require 'geometer/point'
require 'geometer/line'
require 'geometer/dimensions'
require 'geometer/rectangle'

module Geometer
  module LineHelpers
    def dist(a,b)
      Line.new(a,b).length
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
geometer-0.1.3 lib/geometer.rb
geometer-0.1.2 lib/geometer.rb
geometer-0.1.1 lib/geometer.rb