e$B0J2<$N$h$&$K!"e(Byield e$B$G8F$s$@%V%m%C%/$Ke(B Proc object
e$B$,EO$5$le(B
e$B$^$9!#e(B
% ./ruby -ve ’
def m
yield
end
m {|&b| p b }
’
ruby 1.9.0 (2007-07-06 patchlevel 0) [i686-linux]
#Proc:0xb7cb0c5c@-e:5
e$B0J2<$N$h$&$K!"e(Byield e$B$G8F$s$@%V%m%C%/$Ke(B Proc object
e$B$,EO$5$le(B
e$B$^$9!#e(B
% ./ruby -ve ’
def m
yield
end
m {|&b| p b }
’
ruby 1.9.0 (2007-07-06 patchlevel 0) [i686-linux]
#Proc:0xb7cb0c5c@-e:5
e$B!!$5$5$@$G$9!#e(B
Tanaka A. wrote:
#Proc:0xb7cb0c5c@-e:5
e$B!!D>$7$^$7$?!#I,$:e(B nil e$B$K$J$k$h$&$K$7$^$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