# File lib/rack/contrib/cookies.rb, line 11 def [](name) super(name.to_s) end
# File lib/rack/contrib/cookies.rb, line 15 def []=(key, options) unless options.is_a?(Hash) options = { :value => options } end options[:path] ||= '/' @set_cookies[key] = options super(key.to_s, options[:value]) end
Generated with the Darkfish Rdoc Generator 2.