Class: Gm::Notepad::TableColumnSet::Null

Inherits:
Object
  • Object
show all
Defined in:
lib/gm/notepad/table_column_set.rb

Overview

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

Instance Method Summary collapse

Instance Method Details

#column_index_for(cell:) ⇒ Object



14
15
16
# File 'lib/gm/notepad/table_column_set.rb', line 14

def column_index_for(cell:)
  cell.to_i
end

#namesObject



10
11
12
# File 'lib/gm/notepad/table_column_set.rb', line 10

def names
  []
end