Permalink
Browse files

Use SimpleDelegator instead

  • Loading branch information...
1 parent 84706bd commit f3e1df21a3f00f09e751205b64e925aef1c1674a @lmarburger lmarburger committed Nov 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/configuration.rb
View
2 lib/configuration.rb
@@ -7,7 +7,7 @@ def self.registered(subject)
Configurer.new(subject).inject
end
- class Configurer < DelegateClass(Sinatra::Base)
+ class Configurer < SimpleDelegator
def inject
add_new_relic_instrumentation
catch_errors_with_hoptoad

0 comments on commit f3e1df2

Please sign in to comment.