class Proc
Copyright © 2011 AMEE
UK Ltd. - www.amee.com Released as Open Source Software under the BSD 3-Clause license. See LICENSE.txt for details.
Public Instance Methods
===(x)
click to toggle source
Shorthand method for calling self
passing x
as a block variable.
This is required for ruby 1.8 only, as it mimics functionality added in version 1.9
# File lib/core-extensions/proc.rb, line 12 def===(x) call(x) end