examples/person.fy in fancy-0.3.3 vs examples/person.fy in fancy-0.4.0
- old
+ new
@@ -1,9 +1,9 @@
# person.fy
# Annotated example of fancy's classes mechanism
class City {
- read_slots: ['name]
+ read_slot: 'name
def initialize: @name {
}
def to_s {
"City: " ++ @name