From: Ben Somers <somers.ben@gmail.com>
To: raindrops@librelist.org
Subject: Re: [PATCH] middleware/proxy: favor __send__ for method dispatch
Date: Fri, 8 Jun 2012 11:11:43 -0700 [thread overview]
Message-ID: <CAO1NZAqbtdz5aaqDneSCrnPbXzHcp-FqsjBqM01cksmYQOL7TA@mail.gmail.com> (raw)
In-Reply-To: 20120607215534.GA30776@dcvr.yhbt.net
> "send" is more likely to be overridden in subclasses whereas
> the Ruby runtime (at least 1.9.3) will warn loudly if any user
> code (re)defines the "__send__" method.
This seems eminently sensible and IIRC is the same way Rack does it.
Not sure why I changed it when making the original commit, I would
suspect my own foolishness.
prev parent reply other threads:[~2012-06-08 18:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-07 21:55 [PATCH] middleware/proxy: favor __send__ for method dispatch Eric Wong
2012-06-08 18:11 ` Ben Somers [this message]
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-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/raindrops/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAO1NZAqbtdz5aaqDneSCrnPbXzHcp-FqsjBqM01cksmYQOL7TA@mail.gmail.com \
--to=somers.ben@gmail.com \
--cc=raindrops@librelist.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.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/raindrops.git/
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).