Class: TTK::AbortStatus
- Inherits:
-
StatusWithMessage
- Object
- Status
- StatusWithMessage
- TTK::AbortStatus
- Includes:
- Concrete
- Defined in:
- lib/ttk/status.rb
Direct Known Subclasses
Constant Summary collapse
- DEFAULT_WEIGHT =
:FAIL
Instance Attribute Summary collapse
-
#flow ⇒ Object
readonly
Returns the value of attribute flow.
Attributes inherited from StatusWithMessage
Attributes inherited from Status
Instance Method Summary collapse
- #exception ⇒ Object
-
#initialize(aFlow, anObject = nil) ⇒ AbortStatus
constructor
A new instance of AbortStatus.
Methods inherited from StatusWithMessage
Methods inherited from Status
default_weight_value, hook_name, #hook_name, #pass?, status_name, #to_s, #to_ttk_log
Constructor Details
#initialize(aFlow, anObject = nil) ⇒ AbortStatus
Returns a new instance of AbortStatus.
136 137 138 139 |
# File 'lib/ttk/status.rb', line 136 def initialize ( aFlow, anObject=nil ) @flow = aFlow super(anObject) end |
Instance Attribute Details
#flow ⇒ Object (readonly)
Returns the value of attribute flow.
134 135 136 |
# File 'lib/ttk/status.rb', line 134 def flow @flow end |
Instance Method Details
#exception ⇒ Object
141 142 143 144 145 146 |
# File 'lib/ttk/status.rb', line 141 def exception f = @flow @flow = nil f << :abort super end |