Class: Protocol::HTTP::Header::ETag
- Inherits:
-
String
- Object
- String
- Protocol::HTTP::Header::ETag
- Defined in:
- lib/protocol/http/header/etag.rb
Instance Method Summary collapse
Instance Method Details
#<<(value) ⇒ Object
10 11 12 |
# File 'lib/protocol/http/header/etag.rb', line 10 def << value replace(value) end |
#weak? ⇒ Boolean
14 15 16 |
# File 'lib/protocol/http/header/etag.rb', line 14 def weak? self.start_with?('W/') end |