Ruby on Rails Tuesday, June 29, 2010

On 29 June 2010 10:37, Carsten Gehling <lists@ruby-forum.com> wrote:
> Yup it is a very neat solution, that I will adapt to. Thanks

No worries. I got it from the "Refactoring: Ruby Edition" book - they
call it the "introduce null object" pattern.
Well worth being familiar with the book for loads of other very good
little patterns.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment