raindrops RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: raindrops@librelist.org
Subject: Re: Raindrops::Middleware::Proxy claims to respond to #body when it does not?
Date: Fri, 18 May 2012 00:07:19 +0000	[thread overview]
Message-ID: <20120518000719.GA24152@dcvr.yhbt.net> (raw)
In-Reply-To: CAO1NZAoyva-YOH92MdCfr7H14T+17nVo9ri3zVvDceQiBcbV6w@mail.gmail.com

Ben Somers <somers.ben@gmail.com> wrote:
> Would it make sense to take a second hint from Rack::BodyProxy and add
> a #method_missing to Raindrops::Middleware::Proxy that delegates to
> its body? I think that's the answer to my concern about an unintuitive
> #respond_to? method.
> 
> http://rubydoc.info/github/rack/rack/master/Rack/BodyProxy:method_missing

Yes, it makes sense.  Care to send a patch + test?  Otherwise I'll get
to it tonight.


      reply	other threads:[~2012-05-18  0:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-17 19:07 Raindrops::Middleware::Proxy claims to respond to #body when it does not? Ben Somers
2012-05-17 23:18 ` Eric Wong
2012-05-17 23:37   ` Ben Somers
2012-05-18  0:07     ` Eric Wong [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=20120518000719.GA24152@dcvr.yhbt.net \
    --to=normalperson@yhbt.net \
    --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).