Class: Asuka::Rules::Header
Instance Attribute Summary
Attributes inherited from Abstract
#acc, #line_formatter, #result
Instance Method Summary collapse
Methods inherited from Abstract
Constructor Details
This class inherits a constructor from Asuka::Rules::Abstract
Instance Method Details
#match?(line) ⇒ Boolean
96 97 98 |
# File 'lib/asuka/rules.rb', line 96 def match?(line) line =~ /^\#{1,6} / end |