mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-09-22 00:00:31 -04:00
whoops, respond_to? cannot be protected
This commit is contained in:
parent
9ead81b352
commit
8b5f7d038c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user