Class: Test::Unit::UI::GTK::FaultListItem

Inherits:
Gtk::ListItem
  • Object
show all
Defined in:
lib/test/unit/ui/gtk/testrunner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fault) ⇒ FaultListItem

Returns a new instance of FaultListItem.



404
405
406
407
# File 'lib/test/unit/ui/gtk/testrunner.rb', line 404

def initialize(fault)
  super(fault.short_display)
  @fault = fault
end

Instance Attribute Details

#faultObject (readonly)

Returns the value of attribute fault.



403
404
405
# File 'lib/test/unit/ui/gtk/testrunner.rb', line 403

def fault
  @fault
end