Class: Browserctl::State::Mutator::Result
- Inherits:
-
Struct
- Object
- Struct
- Browserctl::State::Mutator::Result
- Defined in:
- lib/browserctl/state/mutator.rb
Instance Attribute Summary collapse
-
#flow_name ⇒ Object
Returns the value of attribute flow_name.
-
#flow_version ⇒ Object
Returns the value of attribute flow_version.
-
#save_result ⇒ Object
Returns the value of attribute save_result.
Instance Method Summary collapse
Instance Attribute Details
#flow_name ⇒ Object
Returns the value of attribute flow_name
19 20 21 |
# File 'lib/browserctl/state/mutator.rb', line 19 def flow_name @flow_name end |
#flow_version ⇒ Object
Returns the value of attribute flow_version
19 20 21 |
# File 'lib/browserctl/state/mutator.rb', line 19 def flow_version @flow_version end |
#save_result ⇒ Object
Returns the value of attribute save_result
19 20 21 |
# File 'lib/browserctl/state/mutator.rb', line 19 def save_result @save_result end |
Instance Method Details
#to_h ⇒ Object
20 21 22 |
# File 'lib/browserctl/state/mutator.rb', line 20 def to_h (save_result || {}).merge(rotated_flow: flow_name) end |