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