- Tuesday, 20 December 2011
-
Method chaining and lazy evaluation in Ruby →
5 months ago ~
Nice article if you wonder how to achieve the User.where().where() patterns we see more and more in Ruby (thanks to Rails). “Method chaining” might not be the proper words as we have alias_method_chain for extending functionality, which is different.
Martin Fowler names it fluent interface.