Method: SimpleTable::Row#initialize

Defined in:
lib/simple_table/row.rb

#initialize(parent, record = nil, options = {}, &block) ⇒ Row

Returns a new instance of Row.



8
9
10
11
12
13
# File 'lib/simple_table/row.rb', line 8

def initialize(parent, record = nil, options = {}, &block)
  @parent = parent
  @options = options
  @cells = []
  @block = block
end