Class: Minidown::DividingLineElement
- Defined in:
- lib/minidown/elements/dividing_line_element.rb
Instance Attribute Summary
Attributes inherited from Element
#children, #content, #doc, #nodes
Instance Method Summary collapse
Methods inherited from Element
#blank?, #initialize, #raw_content, #raw_content=, #unparsed_lines
Methods included from HtmlHelper
Constructor Details
This class inherits a constructor from Minidown::Element
Instance Method Details
#parse ⇒ Object
3 4 5 |
# File 'lib/minidown/elements/dividing_line_element.rb', line 3 def parse nodes << self end |
#to_html ⇒ Object
7 8 9 |
# File 'lib/minidown/elements/dividing_line_element.rb', line 7 def to_html '<hr>' end |