2 Matching Annotations
- Apr 2021
I wish to define methods within the class they belong to. Using class << self demonstrates that approach clearly — we are defining methods within the actual singleton class scope.
- elegant code
- making the association/commonality/relationship clear/explicit
- making intentions clear/explicit
- Ruby: class methods
- I agree
- scope (programming)
- Feb 2021
I think you want a symbol with a circle around it, like the circle around the C in ©. That way the association with the copyright symbol is clear.