Class: Runbook::Statements::Wait
- Inherits:
-
Runbook::Statement
- Object
- Node
- Runbook::Statement
- Runbook::Statements::Wait
- Defined in:
- lib/runbook/statements/wait.rb
Instance Attribute Summary collapse
-
#time ⇒ Object
readonly
Returns the value of attribute time.
Attributes inherited from Runbook::Statement
Instance Method Summary collapse
-
#initialize(time) ⇒ Wait
constructor
A new instance of Wait.
Methods inherited from Runbook::Statement
Methods included from Hooks::Invoker
#_execute_after_hooks, #_execute_around_hooks, #_execute_before_hooks, #invoke_with_hooks
Methods inherited from Node
#dynamic!, #dynamic?, #visited!, #visited?
Constructor Details
#initialize(time) ⇒ Wait
Returns a new instance of Wait.
5 6 7 |
# File 'lib/runbook/statements/wait.rb', line 5 def initialize(time) @time = time end |
Instance Attribute Details
#time ⇒ Object (readonly)
Returns the value of attribute time.
3 4 5 |
# File 'lib/runbook/statements/wait.rb', line 3 def time @time end |