Class: AutomationObject::State::ShowModal
- Inherits:
-
ActionLoop
- Object
- ActionLoop
- AutomationObject::State::ShowModal
- Defined in:
- lib/automation_object/state/hook_actions/show_modal.rb
Overview
Show modal hook loop
Instance Attribute Summary
Attributes inherited from ActionLoop
#blue_prints, #composite, #driver, #loops
Instance Method Summary collapse
Methods inherited from ActionLoop
Constructor Details
This class inherits a constructor from AutomationObject::State::ActionLoop
Instance Method Details
#single_run ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/automation_object/state/hook_actions/show_modal.rb', line 9 def single_run new_modal = composite.screen.modals[blue_prints] return false if new_modal.load.live? == false new_modal.activate true end |