Class: FlowTrace::Step
- Inherits:
-
Object
- Object
- FlowTrace::Step
- Defined in:
- lib/flow_trace/step.rb
Instance Attribute Summary collapse
-
#flow ⇒ Object
readonly
Returns the value of attribute flow.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#step ⇒ Object
readonly
Returns the value of attribute step.
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(flow, step, **options) ⇒ Step
constructor
A new instance of Step.
Constructor Details
#initialize(flow, step, **options) ⇒ Step
Returns a new instance of Step.
9 10 11 12 13 |
# File 'lib/flow_trace/step.rb', line 9 def initialize(flow, step, **) @flow = flow @step = step @options = end |
Instance Attribute Details
#flow ⇒ Object (readonly)
Returns the value of attribute flow.
3 4 5 |
# File 'lib/flow_trace/step.rb', line 3 def flow @flow end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/flow_trace/step.rb', line 3 def @options end |
#step ⇒ Object (readonly)
Returns the value of attribute step.
3 4 5 |
# File 'lib/flow_trace/step.rb', line 3 def step @step end |
Class Method Details
.call(*args) ⇒ Object
5 6 7 |
# File 'lib/flow_trace/step.rb', line 5 def self.call(*args) new(*args).call end |