Sha256: 3847d5eb0e4f53d2ca46568343a9999e02c68b38ce11e5dca1047bba75b326ba
Contents?: true
Size: 268 Bytes
Versions: 5
Compression:
Stored size: 268 Bytes
Contents
class RubocopEntryFilenameFilter < Avo::Filters::TextFilter self.name = "FileName" def apply(_request, query, value) values = value.split(" ") values.each do |word| query = query.where("file_name ILIKE ?", "%#{word}%") end query end end
Version data entries
5 entries across 5 versions & 1 rubygems