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



29
30
31
# File 'lib/protocol/http/header/etag.rb', line 29

def << value
	replace(value)
end

#weak?Boolean

Returns:

  • (Boolean)


33
34
35
# File 'lib/protocol/http/header/etag.rb', line 33

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