RubyFlow The Ruby and Rails community linklog

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in