lib/rconf/progress_reporter.rb in rconf-0.7.8 vs lib/rconf/progress_reporter.rb in rconf-0.7.9
- old
+ new
@@ -20,10 +20,10 @@
# === Parameters
# base(Object):: Object including this module
def self.included(base)
@@reporters ||= []
[ :report_section, :report, :report_check, :report_success,
- :report_failure, :report_fatal, :report_result ].each do |meth|
+ :report_failure, :report_error, :report_fatal, :report_result ].each do |meth|
meta_def(meth) { |*args| @@reporters.each { |r| r.__send__(meth, *args) } }
end
end
# Print progress reports to stdout, default behavior