Ar Chron wrote:

> I tend to prefer code like:
> 
> @class.enrolled_students.each do |student|
>    student.name
> end
> 
> as Phlip mentioned.

Tx - it reminded me to write up "Contractive Delegation" here:

   http://broadcast.oreilly.com/2009/04/contractive-delegation.html

I heard the term from an old Smalltalker, and it stuck...

-- 
   Phlip
   http://flea.sourceforge.net/resume.html


--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to