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
-
#to_proc ⇒ Proc
private
Built from the #call method.
Methods included from Delegations
#:<<, #:>>, #:[], #arity, #binding, #curry, delegate_to_proc, #lambda?, #parameters, proc_methods, #ruby2_keywords, #source_location, #yield
Instance Method Details
#to_proc ⇒ Proc
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.
114 115 116 |
# File 'lib/to_proc_interface.rb', line 114 def to_proc @to_proc ||= method(:call).to_proc end |