Class: Test::Unit::UI::FOX::FaultListItem
- Inherits:
-
Fox::FXListItem
- Object
- Fox::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.
257 258 259 260 |
# File 'lib/test/unit/ui/fox/testrunner.rb', line 257 def initialize(fault) super(fault.short_display) @fault = fault end |
Instance Attribute Details
#fault ⇒ Object (readonly)
Returns the value of attribute fault.
256 257 258 |
# File 'lib/test/unit/ui/fox/testrunner.rb', line 256 def fault @fault end |