Method: Arrow::CookieSet#<<

Defined in:
lib/arrow/cookieset.rb

#<<(cookie) ⇒ Object

Append operator: Add the given cookie to the set, replacing an existing cookie with the same name if one exists.



99
100
101
102
103
104
# File 'lib/arrow/cookieset.rb', line 99

def <<( cookie )
	@cookie_set.delete( cookie )
	@cookie_set.add( cookie )
	
	return self
end