Class: RenderAsMarkdown::H2
- Defined in:
- lib/render-as-markdown/header.rb
Instance Method Summary collapse
-
#initialize(title) ⇒ H2
constructor
A new instance of H2.
Methods inherited from Header
Constructor Details
#initialize(title) ⇒ H2
Returns a new instance of H2.
27 28 29 |
# File 'lib/render-as-markdown/header.rb', line 27 def initialize title super title, "-" end |