From: Joe Swatosh Date: 2015-03-13T23:12:49-07:00 Subject: [ruby-core:68523] Re: Possible regression in 2.1 and 2.2 in binding when combined with delegate? --089e0160b8b4a406c605113981e0 Content-Type: text/plain; charset=UTF-8 On Fri, Mar 13, 2015 at 10:52 PM, Nobuyoshi Nakada wrote: > On 2015/03/14 14:40, Joe Swatosh wrote: > > Regression or yet another thing I don't understand? > > `Delegator` has been improved so that more methods can be delegated, > include `binding`. > > If you really need the context of a delegator, you should use > `::Kernel.binding` explicits the scope. > > -- > Nobu Nakada > Awesome! It was something I didn't understand. Thank you Nobu! -- Joe --089e0160b8b4a406c605113981e0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Fri, Mar 13, 2015 at 10:52 PM, Nobuyoshi Nakada <nobu= @ruby-lang.org> wrote:
O= n 2015/03/14 14:40, Joe Swatosh wrote:
> Regression or yet another thing I don't understand?

`Delegator` has been improved so that more methods can be delegated,= include `binding`.

If you really need the context of a delegator, you should use `::Kernel.bin= ding` explicits the scope.

--
Nobu Nakada

Aweso= me! It was something I didn't understand. Thank you Nobu!
--
Joe
--089e0160b8b4a406c605113981e0--