Module: ToProcInterface::Singleton::ClassMethods
- Includes:
- Delegations
- Defined in:
- lib/to_proc_interface.rb
Instance Method Summary
collapse
#:<<, #:>>, #:[], #arity, #binding, #curry, delegate_to_proc, #lambda?, #parameters, proc_methods, #ruby2_keywords, #source_location, #yield
Instance Method Details
#call(*args, **opts, &block) ⇒ Object
214
215
216
|
# File 'lib/to_proc_interface.rb', line 214
def call(*args, **opts, &block)
instance.call(*args, **opts, &block)
end
|
#to_proc ⇒ Proc
209
210
211
|
# File 'lib/to_proc_interface.rb', line 209
def to_proc
instance.to_proc
end
|