class Protocol::HTTP::Header::ETags
This implementation is not strictly correct according to the RFC-specified format.
Public Instance Methods
match?(etag)
click to toggle source
# File lib/protocol/http/header/etags.rb, line 34 def match?(etag) wildcard? || self.include?(etag) end
wildcard?()
click to toggle source
# File lib/protocol/http/header/etags.rb, line 30 def wildcard? self.include?('*') end