class Gm::Notepad::TableColumnSet::Null

Because we may not have an index row, from which we create a TableColumnSet. So this class provides the necessary external interface.

Public Instance Methods

column_index_for(cell:) click to toggle source
# File lib/gm/notepad/table_column_set.rb, line 14
def column_index_for(cell:)
  # In the file, we have cell 0 is the index. This is hidden from the cell lookup, so I
  # want to internally treat the given cell as one less.
  cell.to_i - 1
end
names() click to toggle source
# File lib/gm/notepad/table_column_set.rb, line 10
def names
  []
end