0001-Adding-documentation-for-CGI-Cookie.patch

Clinton Nixon, 05/19/2011 04:01 AM

Download (780 Bytes)

View differences:

lib/cgi/cookie.rb
104 104
    # True if this cookie is secure; false otherwise
105 105
    attr_reader("secure")
106 106

  
107
    # Returns the value or list of values for this cookie.
107 108
    def value
108 109
      self
109 110
    end
110 111

  
112
    # Replaces the value of this cookie with a new value or list of values.
111 113
    def value=(val)
112 114
      replace(Array(val))
113 115
    end
114
-