Module: Callee::ClassMethods

Defined in:
lib/callee.rb

Instance Method Summary collapse

Instance Method Details

#call(*params, **options, &block) ⇒ Object



11
12
13
# File 'lib/callee.rb', line 11

def call(*params, **options, &block)
  new(*params, **options).call(&block)
end

#to_procObject



15
16
17
# File 'lib/callee.rb', line 15

def to_proc
  method(:call).to_proc
end