Proc.new without a block - raises an ArgumentError - raises an ArgumentError if invoked from within a method with no block - returns the Proc object of its containing method's block |
Proc.new without a block - raises an ArgumentError - raises an ArgumentError if invoked from within a method with no block - returns the Proc object of its containing method's block |