Class: Markdownlyze::Elements::H2
- Defined in:
- lib/markdownlyze/elements/h2.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Markdownlyze::Elements::Base
Instance Method Details
#value ⇒ Object
4 5 6 |
# File 'lib/markdownlyze/elements/h2.rb', line 4 def value @line.gsub(/^## /, '') end |