Method: CWM::TableItem#initialize

Defined in:
library/cwm/src/lib/cwm/table.rb

#initialize(id, values, open: true, children: []) ⇒ TableItem

Returns a new instance of TableItem.



20
21
22
23
24
25
# File 'library/cwm/src/lib/cwm/table.rb', line 20

def initialize(id, values, open: true, children: [])
  @id = id
  @values = values
  @open = open
  @children = children
end