On Nov 1, 2005, at 9:03 AM, Ryan Leavengood wrote:

> I see your point, but:
>
> require 'enumerator'
>
> h = House.new
> h.enum_for(:each_bathroom).select {|b| ... }
>
> I *really* don't see how yours is much better. In fact, I'd argue the
> enumerator one is better because it is more explicit...anyone who
> knows how enumerator works can see what is happening.

Yes, an isn't Enumerator in the core as of 1.9?  Time to get use to  
seeing it.  ;)

James Edward Gray II