Module: Rukawa::State::Skipped

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

Class Method Summary collapse

Methods included from BaseExt

colored, merge, state_name, success?

Class Method Details

.colorObject



49
50
51
# File 'lib/rukawa/state.rb', line 49

def self.color
  :yellow
end

.merge(other) ⇒ Object



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

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

.skipped?Boolean

Returns:

  • (Boolean)


61
62
63
# File 'lib/rukawa/state.rb', line 61

def self.skipped?
  true
end