public
Created

Kleyn: FP II\

  • Download Gist
proc_ex.rb
Ruby
1 2 3 4 5 6
def some_method(&block)
block.class
end
 
some_method do
end # => Proc

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.