Class: Proforma::Modeling::Table::Row

Inherits:
GenericContainer show all
Defined in:
lib/proforma/modeling/table/row.rb

Overview

The second lowest unit of a table. A table’s header, body, and footer is each composed of zero or more rows.

Instance Method Summary collapse

Methods inherited from GenericContainer

#compile, #method_missing, #respond_to_missing?

Constructor Details

#initialize(cells: []) ⇒ Row

Returns a new instance of Row.



18
19
20
# File 'lib/proforma/modeling/table/row.rb', line 18

def initialize(cells: [])
  super(:cells, Cell, cells)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Proforma::Modeling::GenericContainer