lib/jwt_easy/result.rb in jwt_easy-0.2.2 vs lib/jwt_easy/result.rb in jwt_easy-1.0.0
- old
+ new
@@ -56,9 +56,9 @@
def method_missing(method, *arguments, &block)
data.is_a?(Hash) && data.key?(method.to_s) ? data[method.to_s] : super
end
def respond_to_missing?(method, _include_private = false)
- data.is_a?(Hash) && data.key?(method.to_s) || super
+ (data.is_a?(Hash) && data.key?(method.to_s)) || super
end
end
end