Class: Facwparser::Element::Br

Inherits:
InlineElementBase show all
Defined in:
lib/facwparser/element.rb

Instance Attribute Summary

Attributes inherited from InlineElementBase

#text

Attributes inherited from ElementBase

#children, #source

Instance Method Summary collapse

Methods inherited from InlineElementBase

#==

Methods inherited from ElementBase

#==, #render_text

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(options)
  '<br>'
end