Permalink
Browse files

Call super first in respond_to?.

  • Loading branch information...
tylerhunt committed Mar 29, 2012
1 parent a51c503 commit eed663b1128e7746c050108b1d386336caf9da7f
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/brewery_db.rb
View
@@ -14,7 +14,7 @@ module Resources
extend self
def respond_to?(method, include_private=false)
- client.respond_to?(method, include_private) || super
+ super || client.respond_to?(method, include_private)
end
def method_missing(method, *args, &block)

0 comments on commit eed663b

Please sign in to comment.