Class: AdLint::Postfilter::PlainMessageLine

Inherits:
MessageLine show all
Defined in:
lib/adlint/postfilter/content.rb

Instance Attribute Summary

Attributes inherited from MessageLine

#fpath, #line_no, #message_id

Instance Method Summary collapse

Methods inherited from MessageLine

#filterable?, #match_with?

Methods inherited from Line

#filterable?

Constructor Details

#initialize(str) ⇒ PlainMessageLine

Returns a new instance of PlainMessageLine.



122
123
124
# File 'lib/adlint/postfilter/content.rb', line 122

def initialize(str)
  super(str, *str.scan(/\A(.*):(?:(\d*):\d*|):.*:(.*):/).first)
end