Class: AutomationObject::BluePrint::Composite::HookAction
- Defined in:
- lib/automation_object/blue_print/composite/hook_action.rb
Overview
HookAction composite class
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#change_screen ⇒ Symbol?
Screen to change to.
- #change_to_previous_screen ⇒ Boolean
- #close_modal ⇒ Boolean
- #close_screen ⇒ Boolean
-
#empty? ⇒ Boolean
See if hook actions are empty.
-
#hook_order ⇒ Array<Symbol>
Get the order to run the hook in.
-
#length ⇒ Integer
Get length of hook actions.
-
#new_screen ⇒ Symbol?
New screen.
- #possible_screen_changes ⇒ Array
-
#reset_screen ⇒ Boolean
Reset the screen?.
- #show_modal ⇒ Symbol?
-
#sleep ⇒ Numeric
Amount of time to sleep.
-
#wait_for_elements ⇒ Array<AutomationObject::BluePrint::Composite::HookElementRequirements>
Custom method for array of children instead of Hash.
Methods inherited from Base
Constructor Details
This class inherits a constructor from AutomationObject::BluePrint::Composite::Base
Instance Method Details
#change_screen ⇒ Symbol?
Returns screen to change to
32 33 34 |
# File 'lib/automation_object/blue_print/composite/hook_action.rb', line 32 def change_screen adapter.change_screen end |
#change_to_previous_screen ⇒ Boolean
52 53 54 |
# File 'lib/automation_object/blue_print/composite/hook_action.rb', line 52 def change_to_previous_screen adapter.change_to_previous_screen end |
#close_modal ⇒ Boolean
47 48 49 |
# File 'lib/automation_object/blue_print/composite/hook_action.rb', line 47 def close_modal adapter.close_modal end |
#close_screen ⇒ Boolean
42 43 44 |
# File 'lib/automation_object/blue_print/composite/hook_action.rb', line 42 def close_screen adapter.close_screen end |
#empty? ⇒ Boolean
See if hook actions are empty
27 28 29 |
# File 'lib/automation_object/blue_print/composite/hook_action.rb', line 27 def empty? adapter.empty? end |
#hook_order ⇒ Array<Symbol>
Get the order to run the hook in
15 16 17 |
# File 'lib/automation_object/blue_print/composite/hook_action.rb', line 15 def hook_order adapter.hook_order end |
#length ⇒ Integer
Get length of hook actions
21 22 23 |
# File 'lib/automation_object/blue_print/composite/hook_action.rb', line 21 def length adapter.length end |
#new_screen ⇒ Symbol?
Returns new screen
37 38 39 |
# File 'lib/automation_object/blue_print/composite/hook_action.rb', line 37 def new_screen adapter.new_screen end |
#possible_screen_changes ⇒ Array
62 63 64 |
# File 'lib/automation_object/blue_print/composite/hook_action.rb', line 62 def possible_screen_changes adapter.possible_screen_changes end |
#reset_screen ⇒ Boolean
Returns reset the screen?
67 68 69 |
# File 'lib/automation_object/blue_print/composite/hook_action.rb', line 67 def reset_screen adapter.reset_screen end |
#show_modal ⇒ Symbol?
57 58 59 |
# File 'lib/automation_object/blue_print/composite/hook_action.rb', line 57 def show_modal adapter.show_modal end |
#sleep ⇒ Numeric
Returns amount of time to sleep
72 73 74 |
# File 'lib/automation_object/blue_print/composite/hook_action.rb', line 72 def sleep adapter.sleep end |
#wait_for_elements ⇒ Array<AutomationObject::BluePrint::Composite::HookElementRequirements>
Custom method for array of children instead of Hash
78 79 80 |
# File 'lib/automation_object/blue_print/composite/hook_action.rb', line 78 def wait_for_elements adapter.wait_for_elements end |