Class: Test::Unit::UI::Fox::FaultListItem
- Inherits:
-
FXListItem
- Object
- FXListItem
- Test::Unit::UI::Fox::FaultListItem
- Defined in:
- lib/test/unit/ui/fox/testrunner.rb
Instance Attribute Summary collapse
-
#fault ⇒ Object
readonly
Returns the value of attribute fault.
Instance Method Summary collapse
-
#initialize(fault) ⇒ FaultListItem
constructor
A new instance of FaultListItem.
Constructor Details
#initialize(fault) ⇒ FaultListItem
Returns a new instance of FaultListItem.
256 257 258 259 |
# File 'lib/test/unit/ui/fox/testrunner.rb', line 256 def initialize(fault) super(fault.short_display) @fault = fault end |
Instance Attribute Details
#fault ⇒ Object (readonly)
Returns the value of attribute fault.
255 256 257 |
# File 'lib/test/unit/ui/fox/testrunner.rb', line 255 def fault @fault end |