Method: Eye::Process::StatesHistory#push
- Defined in:
- lib/eye/process/states_history.rb
#push(state, reason = nil, tm = Time.now) ⇒ Object
3 4 5 |
# File 'lib/eye/process/states_history.rb', line 3 def push(state, reason = nil, tm = Time.now) super(state: state, at: tm.to_i, reason: reason) end |