From: Florian Gilcher Date: 2008-12-08T22:21:16+09:00 Subject: [ruby-core:20421] Re: Array#to_proc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Dec 8, 2008, at 1:47 PM, 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? > > Thanks. > This might make sense for an Array of Symbols. But i've also seen use of this in other interpretations, like for chaining Arrays of procs. Other uses could be imagined. Fixing this on a language level would be harmful. Also, you Lighthouse- Ticket was rejected because they don't even think it makes sense to fix this on a Framework level. If you like it, use it as a plugin. Personally, i don't care about it. Regards, Florian Gilcher -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEUEARECAAYFAkk9IMcACgkQyLKU2FMxSOKIBwCdEsJk6JRNU++Ak944hGxPyS5A WUsAlR03CYlebnMirNxBaf75lb+4XxM= =CJyu -----END PGP SIGNATURE-----