Class: Simplerubysteps::Wait
- Defined in:
- lib/simplerubysteps/model.rb
Instance Attribute Summary
Attributes inherited from State
Instance Method Summary collapse
-
#initialize(name) ⇒ Wait
constructor
A new instance of Wait.
- #seconds=(s) ⇒ Object
Methods inherited from State
#[]=, #error_catch, #error_retry, #next=, #render, #task_timeout
Constructor Details
#initialize(name) ⇒ Wait
Returns a new instance of Wait.
184 185 186 187 |
# File 'lib/simplerubysteps/model.rb', line 184 def initialize(name) super @dict[:Type] = "Wait" end |
Instance Method Details
#seconds=(s) ⇒ Object
189 190 191 |
# File 'lib/simplerubysteps/model.rb', line 189 def seconds=(s) @dict[:Seconds] = s end |