lib/autobuild/reporting.rb in autobuild-1.7.12.b1 vs lib/autobuild/reporting.rb in autobuild-1.7.12.rc1
- old
+ new
@@ -310,9 +310,13 @@
## Add a new reporter
def self.<<(reporter)
@@reporters << reporter
end
+ def self.clear_reporters
+ @@reporters.clear
+ end
+
def self.each_reporter(&iter)
@@reporters.each(&iter)
end
## Iterate on all log files