Module: Rukawa::State::Aborted
- Extended by:
- BaseExt
- Defined in:
- lib/rukawa/state.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods included from BaseExt
colored, merge, state_name, success?
Class Method Details
.aborted? ⇒ Boolean
125
126
127
|
# File 'lib/rukawa/state.rb', line 125
def self.aborted?
true
end
|
.color ⇒ Object
109
110
111
|
# File 'lib/rukawa/state.rb', line 109
def self.color
:magenta
end
|
.error? ⇒ Boolean
121
122
123
|
# File 'lib/rukawa/state.rb', line 121
def self.error?
true
end
|
.merge(other) ⇒ Object
113
114
115
116
117
118
119
|
# File 'lib/rukawa/state.rb', line 113
def self.merge(other)
if other == Running || other == Error
other
else
self
end
end
|
Instance Method Details
#name ⇒ Object
105
106
107
|
# File 'lib/rukawa/state.rb', line 105
def name
"aborted"
end
|