Class: Cookie::Header::Attribute::Set::Empty

Inherits:
Cookie::Header::Attribute::Set show all
Defined in:
lib/cookie/header/attribute.rb

Overview

An empty Cookie::Header::Attribute::Set to be serialized to EMPTY_STRING

Constant Summary

Constants inherited from Cookie::Header::Attribute::Set

EMPTY

Instance Method Summary collapse

Methods inherited from Cookie::Header::Attribute::Set

coerce, #each, #merge

Constructor Details

#initializeEmpty

Returns a new instance of Empty.



62
63
64
# File 'lib/cookie/header/attribute.rb', line 62

def initialize
  super(EMPTY_HASH)
end

Instance Method Details

#to_sObject



66
67
68
# File 'lib/cookie/header/attribute.rb', line 66

def to_s
  EMPTY_STRING
end