module NamedProc::Object

Mixing in low level method “links”

Private Instance Methods

lambda() click to toggle source

Same for lambda

Calls superclass method
# File lib/named_proc/implementation.rb, line 47
def lambda
  if block_given?
    super
  else
    NamedProc::Proxy::Lambda
  end
end
proc() click to toggle source

Create a proc with name if given

Calls superclass method
# File lib/named_proc/implementation.rb, line 38
def proc
  if block_given?
    super
  else
    NamedProc::Proxy::Proc
  end
end