Module: ToProcInterface::Mixin Private

Extended by:
Hooks::Included
Includes:
Delegations
Included in:
ToProcInterface, CallToMaybe, CallingService, Initializer, PerformingService
Defined in:
lib/to_proc_interface.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

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

#to_procProc

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns built from the #call method.

Returns:

  • (Proc)

    built from the #call method



114
115
116
# File 'lib/to_proc_interface.rb', line 114

def to_proc
  @to_proc ||= method(:call).to_proc
end