ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: "Eustáquio Rangel" <eustaquiorangel@gmail.com>
To: ruby-core@ruby-lang.org
Subject: [ruby-core:20418] Array#to_proc
Date: Mon, 8 Dec 2008 21:47:20 +0900	[thread overview]
Message-ID: <4f4a0fba0812080453x4ae6a3c7n40c0e5cc59fc40de@mail.gmail.com> (raw)

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.

             reply	other threads:[~2008-12-08 12:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-08 12:47 Eustáquio Rangel [this message]
2008-12-08 12:55 ` [ruby-core:20419] Re: Array#to_proc Austin Ziegler
2008-12-08 13:21 ` [ruby-core:20421] " Florian Gilcher
2008-12-08 13:56   ` [ruby-core:20423] " Eustáquio Rangel
2008-12-08 14:08   ` [ruby-core:20424] " James Coglan
2008-12-08 17:24   ` [ruby-core:20430] " Nobuyoshi Nakada
2008-12-08 17:51     ` [ruby-core:20433] " Mikael Høilund
2008-12-09  5:58     ` [ruby-core:20439] " Yukihiro Matsumoto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4f4a0fba0812080453x4ae6a3c7n40c0e5cc59fc40de@mail.gmail.com \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).