cleaning up a pull request from @thomasbrus

This commit is contained in:
Andrew Thorp 2014-01-24 21:27:36 -08:00
parent 6a7f705be3
commit 8b3a00c587

View File

@ -102,16 +102,6 @@ module Stripe
@values.each(&blk)
end
if RUBY_VERSION < '1.9.2'
def respond_to?(symbol)
@values.has_key(symbol) || super
end
else
def respond_to_missing?(symbol, include_private = false)
@values.has_key?(symbol) || super
end
end
protected
def metaclass
@ -174,5 +164,15 @@ module Stripe
end
end
end
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