Module: ToProcInterface::Singleton::ClassMethods

Includes:
Delegations
Defined in:
lib/to_proc_interface.rb

Instance Method Summary collapse

Methods included from Delegations

#:<<, #:>>, #:[], #arity, #binding, #curry, delegate_to_proc, #lambda?, #parameters, proc_methods, #ruby2_keywords, #source_location, #yield

Instance Method Details

#call(*args, **opts, &block) ⇒ Object

See Also:



214
215
216
# File 'lib/to_proc_interface.rb', line 214

def call(*args, **opts, &block)
  instance.call(*args, **opts, &block)
end

#to_procProc

Returns:

  • (Proc)

See Also:

  • ToProcInterface#to_proc


209
210
211
# File 'lib/to_proc_interface.rb', line 209

def to_proc
  instance.to_proc
end