From: Michael Edgar Date: 2011-08-05T19:09:13+09:00 Subject: [ruby-core:38815] Re: to_ary not respecting respond_to? --Apple-Mail=_430B26BF-7B97-44D9-BEE3-0B534E2AC505 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Aug 5, 2011, at 6:06 AM, Adam Prescott wrote: > I'm not sure why that changed happened, but at least that seems to be = the source of the behaviour. I believe it happened because respond_to? is unreliable in the presence = of method_missing unless a lot of care is taken, and that care is rarely = taken. Michael Edgar adgar@carboni.ca http://carboni.ca/= --Apple-Mail=_430B26BF-7B97-44D9-BEE3-0B534E2AC505 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
I'm not sure = why that changed happened, but at least that seems to be the source of = the behaviour.

I believe it happened = because respond_to? is unreliable in the presence = of
method_missing unless a lot of care is taken, and that care = is rarely taken.

Michael = Edgar
adgar@carboni.ca
http://carboni.ca/
= --Apple-Mail=_430B26BF-7B97-44D9-BEE3-0B534E2AC505--