lib/garb/resource.rb in garb-0.8.2 vs lib/garb/resource.rb in garb-0.8.3
- old
+ new
@@ -7,9 +7,11 @@
# define a method on a module that gets included into profile
# Exits would make:
# to enable profile.exits(options_hash, &block)
# returns Exits.results(self, options_hash, &block)
# every class defined which extends Resource will add to the module
+
+ # ActiveSupport::Deprecation.warn
ProfileReports.add_report_method(base)
end
%w(metrics dimensions sort).each do |parameter|
class_eval <<-CODE