SimpleDelegator.new(0).method(:succ): delegator does not forward private methods

e$B0J2<$N$h$&$K$7$?$H$-$K!“e(B
delegator does not forward private methods
e$B$H$$$&7Y9p$,=P$k$N$G$9$,!”$J$s$G$G$7$g$&e(B?

% ./ruby -rdelegate -ve ‘p SimpleDelegator.new(0).method(:succ)’
ruby 1.9.2dev (2009-10-16 trunk 25375) [i686-linux]
-e:1:in `’: delegator does not forward private methods
#<Method: SimpleDelegator#succ>

e$B$H$j$"$($:e(B Fixnum#succ e$B$Oe(B private e$B$G$O$J$$$H;W$$$^$9!#e(B

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