Skip to content
Browse files

Call super first in respond_to?.

  • Loading branch information...
1 parent a51c503 commit eed663b1128e7746c050108b1d386336caf9da7f @tylerhunt committed Mar 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/brewery_db.rb
View
2 lib/brewery_db.rb
@@ -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.
Something went wrong with that request. Please try again.