|
|
|
|
|
by Tyr42
1881 days ago
|
|
Sure, traits talk about functions, not properties/ strict fields, so you need to provide trivial getters if you want to abstract over properties. True, but not that interesting?
Sure we could have some Ruby :get_attrs magic or whatever. |
|