Class: Tributa::HtmlToTributaTableTransformer
- Inherits:
-
Object
- Object
- Tributa::HtmlToTributaTableTransformer
- Defined in:
- lib/tributa/html_to_tributa_table_transformer.rb
Instance Attribute Summary collapse
-
#html ⇒ Object
readonly
Returns the value of attribute html.
Instance Method Summary collapse
-
#initialize(html) ⇒ HtmlToTributaTableTransformer
constructor
A new instance of HtmlToTributaTableTransformer.
- #to_tributa_table ⇒ Object
Constructor Details
#initialize(html) ⇒ HtmlToTributaTableTransformer
Returns a new instance of HtmlToTributaTableTransformer.
9 10 11 |
# File 'lib/tributa/html_to_tributa_table_transformer.rb', line 9 def initialize(html) @html = html end |
Instance Attribute Details
#html ⇒ Object (readonly)
Returns the value of attribute html.
7 8 9 |
# File 'lib/tributa/html_to_tributa_table_transformer.rb', line 7 def html @html end |