From: Austin Ziegler Date: 2008-12-08T21:55:23+09:00 Subject: [ruby-core:20419] Re: Array#to_proc On Mon, Dec 8, 2008 at 7:47 AM, Eust�quio Rangel wrote: > Some months ago I sent a patch to Rails proposing an Array#to_proc the > way we already have a Symbol#to_proc: > http://rails.lighthouseapp.com/projects/8994/tickets/1253-arrayto_proc > As pointed on the discussion, we only had some few cases (on Rails) to > add this method, but what do you guys think about it on the language > itself, would be useful or it does not help anyway? I think that this is a specialized use case for Rails and Rails-like productions. I don't think that this is something that would be of general purpose value, and I think it looks uglier than Symbol#to_proc from a line-noise perspective. -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca