Class: AdLint::Postfilter::PlainMessageLine
- Inherits:
-
MessageLine
- Object
- String
- Line
- MessageLine
- AdLint::Postfilter::PlainMessageLine
- Defined in:
- lib/adlint/postfilter/content.rb
Instance Attribute Summary
Attributes inherited from MessageLine
Instance Method Summary collapse
-
#initialize(str) ⇒ PlainMessageLine
constructor
A new instance of PlainMessageLine.
Methods inherited from MessageLine
Methods inherited from Line
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 |