delicious

Method chaining and lazy evaluation in Ruby

A murb'ed feed, posted almost 11 years ago filed in tutorial, programming, ruby, rails, reference & method.

Nice and simple tutorial by Jeff Kreeftmeijer that explains how to support method chaining for your class methods (much like ActiveRecord does).

Go to the original link.