Class: PointBlank::Parsing::SetextParserLV2
- Inherits:
-
UnderlineParser
- Object
- NullParser
- UnderlineParser
- PointBlank::Parsing::SetextParserLV2
- Defined in:
- lib/mmmd/blankshell.rb
Overview
Setext parser level 2
Class Method Summary collapse
-
.begin?(line) ⇒ Boolean
abstract
Underline parser.
Methods inherited from NullParser
#close, #consume, #initialize, #parsed_content
Constructor Details
This class inherits a constructor from PointBlank::Parsing::NullParser
Class Method Details
.begin?(line) ⇒ Boolean
This method is abstract.
Underline parser
489 490 491 |
# File 'lib/mmmd/blankshell.rb', line 489 def self.begin?(line) line.match?(/\A {0,3}-{3,}\s*\z/) end |