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.
- scope (programming)
- I agree
- making intentions clear/explicit
- Ruby: class methods
- elegant code
- making the association/commonality/relationship clear/explicit
- 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.