lib/rconf/progress_reporter.rb in rconf-0.9.18 vs lib/rconf/progress_reporter.rb in rconf-0.9.19
- old
+ new
@@ -1,6 +1,6 @@
-# Copyright (C) 2011 RightScale, Inc, All Rights Reserved Worldwide.
+# Copyright (C) 2011-2012 RightScale, Inc, All Rights Reserved Worldwide.
#
# THIS PROGRAM IS CONFIDENTIAL AND PROPRIETARY TO RIGHTSCALE
# AND CONSTITUTES A VALUABLE TRADE SECRET. Any unauthorized use,
# reproduction, modification, or disclosure of this program is
# strictly prohibited. Any use of this program by an authorized
@@ -19,10 +19,10 @@
#
# === Parameters
# base(Object):: Object including this module
def self.included(base)
@@reporters ||= []
- [ :report_section, :report, :report_check, :report_success,
+ [ :report_section, :report, :report_check, :report_success,
:report_failure, :report_error, :report_fatal, :report_result ].each do |meth|
meta_def(meth) { |*args| @@reporters.each { |r| r.__send__(meth, *args) } }
end
end