RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

Code Show and Tell: PolymorphicFinder

This refactoring shows a real-world example of the Builder, Decorator, Chain of Responsibility, and Null Object patterns as well as recursion, using a fold/inject, object composition, and immutable objects in Ruby.

Comments

Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!