Sha256: 1a3329f86ecab139028068a183bca48852f1c0f08813659d654570cb392540f1
Contents?: true
Size: 375 Bytes
Versions: 1
Compression:
Stored size: 375 Bytes
Contents
module RShade module Filter class ExcludePathFilter < IncludePathFilter NAME = :exclude_paths def name NAME end def priority 0 end private def str?(str, event_path) !event_path.include?(str) end def regexp?(regex, event_path) !regex.match?(event_path) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rshade-0.1.9 | lib/rshade/filter/exclude_path_filter.rb |