class Fooand now suppose the generated setter methods (Foo#bar=(), Foo#baz=()) should be made protected (such that only the getter methods are public). This pattern is very common. Hence, a macro abstracting this pattern should be part of the Mirah standard library. But how should the macro generating this be called?
attr_accessor bar:Bar
attr_accessor baz:Baz
end
Cheers!
Felix