Class: Simplerubysteps::Wait

Inherits:
State
  • Object
show all
Defined in:
lib/simplerubysteps/model.rb

Instance Attribute Summary

Attributes inherited from State

#name, #state_machine

Instance Method Summary collapse

Methods inherited from State

#[]=, #next=, #render

Constructor Details

#initialize(name) ⇒ Wait

Returns a new instance of Wait.



147
148
149
150
# File 'lib/simplerubysteps/model.rb', line 147

def initialize(name)
  super
  @dict[:Type] = "Wait"
end

Instance Method Details

#seconds=(s) ⇒ Object



152
153
154
# File 'lib/simplerubysteps/model.rb', line 152

def seconds=(s)
  @dict[:Seconds] = s
end