Class: Protocol::HTTP::Header::ETag

Inherits:
String
  • Object
show all
Defined in:
lib/protocol/http/header/etag.rb

Instance Method Summary collapse

Instance Method Details

#<<(value) ⇒ Object


27
28
29
# File 'lib/protocol/http/header/etag.rb', line 27

def << value
	replace(value)
end

#weak?Boolean

Returns:

  • (Boolean)

31
32
33
# File 'lib/protocol/http/header/etag.rb', line 31

def weak?
	self.start_with('\W')
end