Module: ToProcInterface::Singleton::ClassMethods Private
- Includes:
- Delegations
- Defined in:
- lib/to_proc_interface/singleton.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 Attribute Summary collapse
- #instance ⇒ ::Singleton readonly
Instance Method Summary collapse
- #call ⇒ Object private
- #to_proc ⇒ Proc private
Instance Attribute Details
#instance ⇒ ::Singleton (readonly)
|
# File 'lib/to_proc_interface/singleton.rb', line 34
|
Instance Method Details
#call ⇒ Object
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.
42 43 44 |
# File 'lib/to_proc_interface/singleton.rb', line 42 def call(...) instance.call(...) end |
#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.
38 39 40 |
# File 'lib/to_proc_interface/singleton.rb', line 38 def to_proc instance.to_proc end |