Class: LiquidXlsx::Nodes::RowNode
- Defined in:
- lib/liquid_xlsx/template_nodes.rb
Overview
A single row in the template, unmodified.
Instance Attribute Summary collapse
-
#row_data ⇒ Object
readonly
Returns the value of attribute row_data.
Instance Method Summary collapse
-
#initialize(row_data) ⇒ RowNode
constructor
row_data: => row_xml_element, :cells => [cell_hash, ...].
- #rows_after_render ⇒ Object
Constructor Details
#initialize(row_data) ⇒ RowNode
row_data: => row_xml_element, :cells => [cell_hash, ...]
17 18 19 |
# File 'lib/liquid_xlsx/template_nodes.rb', line 17 def initialize(row_data) @row_data = row_data end |
Instance Attribute Details
#row_data ⇒ Object (readonly)
Returns the value of attribute row_data.
14 15 16 |
# File 'lib/liquid_xlsx/template_nodes.rb', line 14 def row_data @row_data end |
Instance Method Details
#rows_after_render ⇒ Object
21 22 23 |
# File 'lib/liquid_xlsx/template_nodes.rb', line 21 def rows_after_render 1 end |