Proc from yield

e$B0J2<$N$h$&$K!"e(Byield [email protected]%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:[email protected]:5

[email protected]$G$9!#e(B

Tanaka A. wrote:

#Proc:[email protected]: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.

| Privacy Policy | Terms of Service | Remote Ruby Jobs