Object
# File lib/http/cookie/ruby_compat.rb, line 21 def try_convert(object) if object.is_a?(Hash) || (object.respond_to?(:to_hash) && (object = object.to_hash).is_a?(Hash)) object else nil end end