class Threatinator::Filters::Comments
Filters
out any lines of text that begin with a comment '#'
Public Instance Methods
filter?(record)
click to toggle source
@param [Threatinator::Record] record The record to filter @return [Boolean] true if filtered, false otherwise.
# File lib/threatinator/filters/comments.rb, line 9 def filter?(record) record.data[0] == '#' end