Proc from yield


#1

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


#2

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