Module: Rukawa::State::Error

Extended by:
BaseExt
Defined in:
lib/rukawa/state.rb

Class Method Summary collapse

Methods included from BaseExt

colored, merge, state_name

Class Method Details

.colorObject



51
52
53
# File 'lib/rukawa/state.rb', line 51

def self.color
  :red
end

.merge(other) ⇒ Object



55
56
57
58
59
60
61
# File 'lib/rukawa/state.rb', line 55

def self.merge(other)
  if other == Running
    other
  else
    self
  end
end