Method: Threatinator::FeedBuilder#filter_comments
- Defined in:
- lib/threatinator/feed_builder.rb
#filter_comments ⇒ Object
Filter out whitespace lines. Only works on line-based text.
88 89 90 91 92 |
# File 'lib/threatinator/feed_builder.rb', line 88 def filter_comments @filter_builders ||= [] @filter_builders << lambda { Threatinator::Filters::Comments.new } self end |