examples/person.fy in fancy-0.4.0 vs examples/person.fy in fancy-0.5.0
- old
+ new
@@ -21,11 +21,10 @@
# method being generated, that calls this method when being called.
# The name of the class factory method is the same as the instance
# method but having initialize: replaced by new:.
# So in this case: Person##new:age:city:
# which calls this instance method internally
- def initialize: @name age: @age city: @city {
- }
+ def initialize: @name age: @age city: @city
def go_to: city {
# The .-operator (dot) manages left associativity and treats
# everything left of it as one expression and everything right of
# it as a method_call to the left. In this case the following line