The Crystal Programming Language Forum

Is it possible to define a getter for class variable via macro?

The getter macro doesn’t seem to work for class variable, right?

There’s class_getter, etc.

1 Like

Thanks.