Class: PointBlank::Parsing::SetextParserLV1
- Inherits:
-
UnderlineParser
- Object
- NullParser
- UnderlineParser
- PointBlank::Parsing::SetextParserLV1
- Defined in:
- lib/mmmd/blankshell.rb
Overview
Setext parser level 1
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
482 483 484 |
# File 'lib/mmmd/blankshell.rb', line 482 def self.begin?(line) line.match?(/\A {0,3}={3,}\s*\z/) end |