RubyFlow The Ruby and Rails community linklog

Why don’t we use Class#allocate more?

There’s a great little method in Ruby that you might not be familiar with. It’s used all the time but it’s hardly ever called directly. The method is Class#allocate. Read about how you might use it in Steve Richert’s latest post on the Collective Idea blog.

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