From: Roger Pack Date: 2009-11-11T00:05:40+09:00 Subject: Re: RCR enumerable extra into core >> list.map(:name) The next question... we currently have list.map => Enumerator so should list.map(:method) best return an array or an enumerator? (though I don't really understand why enumerators are cool, apparently they've become quite common lately) Thoughts? >> list.map(:method, arg1) This would be a natural extension of being able to do list.map(:method) but it feels less intuitive than forcing the user to do >> list.map{|i| i.method(arg) } Or does it? Thoughts? -r -- Posted via http://www.ruby-forum.com/.