whoops, respond_to? cannot be protected

This commit is contained in:
Andrew Thorp 2014-01-24 23:37:09 -08:00
parent 8b3a00c587
commit ebfe240ab5

View File

@ -102,6 +102,12 @@ module Stripe
@values.each(&blk)
end
if RUBY_VERSION < '1.9.2'
def respond_to?(symbol)
@values.has_key?(symbol) || super
end
end
protected
def metaclass
@ -168,11 +174,5 @@ module Stripe
def respond_to_missing?(symbol, include_private = false)
@values.has_key?(symbol) || super
end
if RUBY_VERSION < '1.9.2'
def respond_to?(symbol)
@values.has_key?(symbol) || super
end
end
end
end