lib/cookie/header.rb in majoun-0.0.2 vs lib/cookie/header.rb in majoun-0.0.3
- old
+ new
@@ -11,10 +11,10 @@
def self.build(name, value, attributes)
new(Cookie.new(name, value), attributes)
end
- def self.new(cookie, attributes = Attribute::Set::EMPTY)
+ def initialize(cookie, attributes = Attribute::Set::EMPTY)
super
end
def with_domain(domain)
with_attribute(Attribute::Domain.new(domain))