Sha256: 5c2f89a17dd388149ad26b4848f780f20d89331c975ec6d56983f77c5acc1db2
Contents?: true
Size: 271 Bytes
Versions: 7
Compression:
Stored size: 271 Bytes
Contents
module Geom class Connection alias_method(:==, :equal?) attr_accessor(:point,:angle) def initialize(point,angle) @point = point @angle = angle end def equal?(other) other.point == @point && other.angle == @angle end end end
Version data entries
7 entries across 7 versions & 2 rubygems