Class: Bkmrq::Filter
- Inherits:
-
Object
- Object
- Bkmrq::Filter
- Defined in:
- lib/bkmrq/filter.rb
Overview
TODO: Filters out bookmarks that matched the -x regex
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.run(parsed_file, opts) ⇒ Object
6 7 8 9 10 |
# File 'lib/bkmrq/filter.rb', line 6 def self.run(parsed_file, opts) return parsed_file if opts[:exclude].nil? new.filter(parsed_file, opts[:exclude]) end |
Instance Method Details
#filter(parsed_file, patterns) ⇒ Object
12 |
# File 'lib/bkmrq/filter.rb', line 12 def filter(parsed_file, patterns); end |