The Real Difference: `self.method_name` vs `class << self`
I wasn’t satisfied with some SO answers on the difference between self.method_name
and class << self
so I wrote a post to complement those answers. https://emmanuelhayford.com/the-difference-between-self-method-name-and-class-self-in-ruby/
Post a comment