# File lib/test/spec/dox.rb, line 11 def add_fault(fault) if fault.kind_of? Test::Spec::Disabled @disabled += 1 output_no_nl " (disabled)" elsif fault.kind_of? Test::Spec::Empty @empty += 1 output_no_nl " (empty)" else @faults << fault word = fault.class.name[/(.*::)?(.*)/, 2].upcase output_no_nl " (#{word} - #{@faults.size})" end end