e$BF#2,$G$9!#e(B
e$B$^$@e(B#classe$B$N5sF0$,$J$*$C$F$$$k$h$&$K8+$($J$$$N$G$9$,!"e(B
e$B%3%_%C%HK:$l$G$9$h$M!#e(B:-p
[email protected] e$B$5$s$O=q$-$^$7$?e(B:
e$BF#2,$G$9!#e(B
e$B$^$@e(B#classe$B$N5sF0$,$J$*$C$F$$$k$h$&$K8+$($J$$$N$G$9$,!"e(B
e$B%3%_%C%HK:$l$G$9$h$M!#e(B:-p
[email protected] e$B$5$s$O=q$-$^$7$?e(B:
e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B
In message “Re: [ruby-dev:36739] r19786 (trunk): * lib/delegate.rb
(Delegator): simplified and restored 1.8”
on Wed, 15 Oct 2008 15:43:15 +0900, Fujioka [email protected] writes:
|e$B$^$@e(B#classe$B$N5sF0$,$J$*$C$F$$$k$h$&$K8+$($J$$$N$G$9$,!"e(B
|e$B%3%_%C%HK:$l$G$9$h$M!#e(B:-p
e$B!)e(B e$BD>$C$F$^$;$s$+!)e(B
% ruby1.9.orig -v -r delegate -e ‘p SimpleDelegator.new([]).class’
ruby 1.9.0 (2008-06-20 revision 17482) [i486-linux]
/usr/lib/ruby/1.9.0/delegate.rb:225: warning: instance variable
@delegate_sd_obj not initialized
Array
% ruby1.9 -v -r delegate -e ‘p SimpleDelegator.new([]).class’
ruby 1.9.0 (2008-10-15 revision 19791) [i686-linux]
SimpleDelegator
e$B$=$&$$$&$3$H$G$O$J$$!)e(B
e$BF#2,$G$9!#e(B
ruby 1.9.0 (2008-10-15 revision 19791) [i686-linux]
SimpleDelegatore$B$=$&$$$&$3$H$G$O$J$$!)e(B
e$B$(!<!&!&!&!&e(B
% ruby -v -rtempfile -e ‘p Tempfile.new(“hage”).class’
ruby 1.8.6 (2008-08-11 patchlevel 287) [i686-darwin9.5.0]
Tempfile
% ruby19 -v -rtempfile -e ‘p Tempfile.new(“hage”).class’
ruby 1.9.0 (2008-10-15 revision 19655) [i386-darwin9.5.0]
File
e$B$H$+!"e(B
% ruby19 -v -rdelegate -e ‘class Myclass<DelegateClass(Array);end;p
Myclass.new([]).class’
ruby 1.9.0 (2008-10-15 revision 19655) [i386-darwin9.5.0]
Array
% ruby -v -rdelegate -e ‘class Myclass<DelegateClass(Array);end;p
Myclass.new([]).class’
ruby 1.8.6 (2008-08-11 patchlevel 287) [i686-darwin9.5.0]
Myclass
e$B$H$+!#e(B
e$BF#2,$G$9!#e(B
e$B$9$_$^$;$s!#e(BDelegateClasse$B$NJ}$rD>$7$F$^$;$s$G$7$?!#e(B
e$BCQ$:$+$7$$!#e(B
e$B$h$&$d$/5$;}$A0-$$$N$,$H$l$^$7$?!#e(B
e$B$"$j$,$H$&$4$6$$$^$7$?!#e(B
e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B
In message “Re: [ruby-dev:36746] Re: r19786 (trunk): * lib/delegate.rb
(Delegator): simplified and restored 1.8”
on Wed, 15 Oct 2008 20:54:55 +0900, Fujioka [email protected] writes:
|% ruby -v -rtempfile -e ‘p Tempfile.new(“hage”).class’
|ruby 1.8.6 (2008-08-11 patchlevel 287) [i686-darwin9.5.0]
|Tempfile
|
|% ruby19 -v -rtempfile -e ‘p Tempfile.new(“hage”).class’
|ruby 1.9.0 (2008-10-15 revision 19655) [i386-darwin9.5.0]
|File
|
|e$B$H$+!"e(B
e$B$9$_$^$;$s!#e(BDelegateClasse$B$NJ}$rD>$7$F$^$;$s$G$7$?!#e(B
e$BCQ$:$+$7$$!#e(B
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs