Class: CallSheet::StepAdapters::Base Private
- Inherits:
-
Object
- Object
- CallSheet::StepAdapters::Base
- Includes:
- Deterministic::Prelude::Result
- Defined in:
- lib/call_sheet/step_adapters/base.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #operation ⇒ Object readonly private
- #options ⇒ Object readonly private
Instance Method Summary collapse
- #arity ⇒ Object private
-
#initialize(operation, options) ⇒ Base
constructor
private
A new instance of Base.
Constructor Details
#initialize(operation, options) ⇒ Base
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 a new instance of Base.
10 11 12 13 |
# File 'lib/call_sheet/step_adapters/base.rb', line 10 def initialize(operation, ) @operation = operation = end |
Instance Attribute Details
#operation ⇒ Object (readonly)
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.
7 8 9 |
# File 'lib/call_sheet/step_adapters/base.rb', line 7 def operation @operation end |
#options ⇒ Object (readonly)
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.
8 9 10 |
# File 'lib/call_sheet/step_adapters/base.rb', line 8 def end |
Instance Method Details
#arity ⇒ 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.
15 16 17 |
# File 'lib/call_sheet/step_adapters/base.rb', line 15 def arity operation.is_a?(Proc) ? operation.arity : operation.method(:call).arity end |