Method: ObjectTable#add_column

Defined in:
lib/object_table.rb

#add_column(name, typecode = 'object', *args) ⇒ Object



28
29
30
31
# File 'lib/object_table.rb', line 28

def add_column(name, typecode='object', *args)
  col = ObjectTable::Column.new(typecode, *args, nrows)
  columns[name] = col
end