Class: Facwparser::Element::Br
- Inherits:
-
InlineElementBase
- Object
- ElementBase
- InlineElementBase
- Facwparser::Element::Br
- Defined in:
- lib/facwparser/element.rb
Instance Attribute Summary
Attributes inherited from InlineElementBase
Attributes inherited from ElementBase
Instance Method Summary collapse
-
#initialize(source) ⇒ Br
constructor
A new instance of Br.
- #render_html(options) ⇒ Object
Methods inherited from InlineElementBase
Methods inherited from ElementBase
Constructor Details
#initialize(source) ⇒ Br
Returns a new instance of Br.
348 349 350 |
# File 'lib/facwparser/element.rb', line 348 def initialize(source) super(source, source) end |
Instance Method Details
#render_html(options) ⇒ Object
351 352 353 |
# File 'lib/facwparser/element.rb', line 351 def render_html() '<br>' end |