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, **, &block) new(*params, **).call(&block) end |
#to_proc ⇒ Object
15 16 17 |
# File 'lib/callee.rb', line 15 def to_proc method(:call).to_proc end |