Simple immutable value objects for ruby. Make a new value class: Point = Value.new(:x, :y) And use it: p = Point.new(1,0) p.x => 1 p.y => 0
Tom Crayford
April 7, 2015 12:36am
MIT