Class: Tablerize::RawHtmlElement
- Inherits:
-
HtmlElement
- Object
- HtmlElement
- Tablerize::RawHtmlElement
- Defined in:
- lib/tablerize/html_element.rb
Overview
A RawHtmlElement represents arbitrary HTML.
Instance Attribute Summary collapse
-
#html ⇒ Object
(also: #to_html)
readonly
Returns the value of attribute html.
Instance Method Summary collapse
-
#initialize(html) ⇒ RawHtmlElement
constructor
A new instance of RawHtmlElement.
Constructor Details
#initialize(html) ⇒ RawHtmlElement
Returns a new instance of RawHtmlElement.
12 13 14 |
# File 'lib/tablerize/html_element.rb', line 12 def initialize(html) @html = html end |
Instance Attribute Details
#html ⇒ Object (readonly) Also known as: to_html
Returns the value of attribute html.
9 10 11 |
# File 'lib/tablerize/html_element.rb', line 9 def html @html end |