samples/point.rb in moosex-0.0.18 vs samples/point.rb in moosex-0.0.19

- old
+ new

@@ -14,10 +14,10 @@ } has y: { is: :rw, isa: Integer, - default: lambda { 0 }, # you should specify a lambda + default: -> { 0 }, # you should specify a lambda } def clear! self.x= 0 # to run with type-check you must self.y= 0 # use the setter instad @x=