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