lib/roda/plugins/caching.rb
def etag_matches?(list, etag, new_resource)
          return unless list
          return !new_resource if list == '*'
          list.to_s.split(/\s*,\s*/).include?(etag)
        end
# Helper method checking if a ETag value list includes the current ETag.
Helper method checking if a ETag value list includes the current ETag.
Helper method checking if a ETag value list includes the current ETag .
def etag_matches?(list, etag, new_resource)
          return unless list
          return !new_resource if list == '*'
          list.to_s.split(/\s*,\s*/).include?(etag)
        end
def etag_matches? ( list , etag , new_resource ) return unless list return ! new_resource if list == '*' list . to_s . split ( / \s *, \s * / ) . include? ( etag ) end
Helper method checking if a ETag value list includes the current ETag.
Helper method checking if a ETag value list includes the current ETag .
list
etag
new_resource