Class: LiquidXlsx::Nodes::RowNode

Inherits:
Base
  • Object
show all
Defined in:
lib/liquid_xlsx/template_nodes.rb

Overview

A single row in the template, unmodified.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_dataObject (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_renderObject



21
22
23
# File 'lib/liquid_xlsx/template_nodes.rb', line 21

def rows_after_render
  1
end