# File lib/bacon.rb, line 103 103: def handle_requirement(description) 104: ErrorLog.replace "" 105: error = yield 106: if error.empty? 107: puts "ok - %s" % [description] 108: else 109: puts "not ok - %s: %s" % [description, error] 110: puts ErrorLog.strip.gsub(/^/, '# ') if Backtraces 111: end 112: end
# File lib/bacon.rb, line 101 101: def handle_specification(name) yield end 102: 103: def handle_requirement(description) 104: ErrorLog.replace "" 105: error = yield 106: if error.empty? 107: puts "ok - %s" % [description] 108: else 109: puts "not ok - %s: %s" % [description, error] 110: puts ErrorLog.strip.gsub(/^/, '# ') if Backtraces 111: end 112: end 113: 114: def handle_summary; end 115: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.