Forwardable in trunk

e$B$1$$$8$e!w$$$7$D$+$G$9e(B.

trunke$B$KF~$C$F$$$ke(B Forwardable e$B$G$9$,e(B,
e$B%*%j%8%J%k$N0U?^$,<B8=$G$-$F$$$^e(B
e$B$;$se(B.

e$BJQ$o$C$F$$$k$3$H$KD9$$4V5$$,IU$+$J$+$C$?$N$bLdBj$G$9$,e(B(^^;;

trunke$B$NHG$G$Oe(B, SingleForwardable e$B$r$J$/$7$Fe(B, Forwardable
e$B$GBeMQ$7$F$$e(B
e$B$^$9$,e(B, e$B$3$l$G$O85$N?6$kIq$$$HF1$8$K$O$G$-$^$;$se(B.

e$B$D$^$je(B,

class A
def_single_delegator :@ForwardingClass, :single_method
end

e$B$NMM$J$3$H$,$G$-$^$;$se(B.

trunk e$B$NJ}$G$Oe(B,

class A
def_delegator :@ForwardingClass, :single_method
end

e$B$HF1$8$K$J$je(B, e$B5a$a$k7k2L$K$J$i$J$$$G$9e(B.

e$B$H$$$&$o$1$Ge(B, trunke$B$KF~$C$F$$$ke(B forwardable
e$B$OA0Dse(B(Forwardablee$B$He(B
SingleForwardablee$B$r$$$C$7$g$K$G$-$k$H$$$&$3$He(B)e$B$+$i4V0c$C$F$$$k$N$Ge(B,
e$B3He(B
e$BD%$5$l$F$$$kItJ,$r=|$$$F85$N$b$N$KLa$7$?$$$N$G$9$,e(B?

__
---------------------------------------------------->> [email protected](B
e$B7=<ye(B <<—
---------------------------------->> e-mail: [email protected] <<—

e$B$1$$$8$e!w$$$7$D$+$G$9e(B.

e$B$:$$$V$s$?$C$F$7$^$$$^$7$?$,e(B…

In [ruby-dev :36228 ] the message: "[ruby-dev:36228] forwardable in
trunk ", on Sep/09 17:59(JST) Keiju ISHITSUKA writes:

trunke$B$NHG$G$Oe(B, SingleForwardable e$B$r$J$/$7$Fe(B, Forwardable e$B$GBeMQ$7$F$$e(B
e$B$^$9$,e(B, e$B$3$l$G$O85$N?6$kIq$$$HF1$8$K$O$G$-$^$;$se(B.

e$B$H$$$&$o$1$Ge(B, trunke$B$KF~$C$F$$$ke(B forwardable e$B$OA0Dse(B(Forwardablee$B$He(B
SingleForwardablee$B$r$$$C$7$g$K$G$-$k$H$$$&$3$He(B)e$B$+$i4V0c$C$F$$$k$N$Ge(B, e$B3He(B
e$BD%$5$l$F$$$kItJ,$r=|$$$F85$N$b$N$KLa$7$?$$$N$G$9$,e(B?

e$B85$KLa$9$N$O4JC1$J$N$G$9$,e(B…

trunke$B$KF~$C$F$$$k$b$N$K$J$C$?M}M3$Oe(B,
e$B%*%j%8%J%k$,e(BForwardablee$B$He(B
SingleForwardablee$B$G$[$H$s$IF1$8%3!<%I$K$J$C$F$$$k$N$,5$$K$/$o$J$+$C$?e(B
e$B$N$+$J$H?dB,$G$-$^$9e(B. e$B$=$l$bJ,$+$i$J$/$b$J$$$N$Ge(B,
Forwardablee$B$He(B
SingleForwardablee$B$GE,EY$K6&M-$G$-$k$&$^$$J}K!$O$J$$$+$J$H9M$($F$$$k$Ne(B
e$B$G$9$,e(B, e$B$J$+$J$+Fq$7$$$G$9e(B…

e$BMW5a$H$7$F$Oe(B, e$BEv$?$jA0$G$9$,e(BForwardable, SingleForwardable
e$B$,$A$c$s$He(B
e$BF0:n$9$k$3$H$Ge(B, e$B:#$Ne(Btrunke$B$K$"$k$h$&$Ke(B
e$B%/%i%9$KBP$7$Fe(B
def_single_delegatore$B=PMh$J$$$N$Oe(BNGe$B$G$9e(B. e$B$5$i$Ke(B,

class Foo
extend Forwardable
extend SingleForwardable

def_instance_delegator …
def_single_delegator …

e$B$NMQ$K$J$C$F$$$F$bN><T$,Dj5A$G$-$k$3$H$G$9e(B.

e$B2?$+%(%l%,%s%H$J2r7h0F$J$$$G$7$g$&$+e(B?

__
---------------------------------------------------->> [email protected](B
e$B7=<ye(B <<—
---------------------------------->> e-mail: [email protected] <<—

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs