Method: Roo::Excelx::Sheet#first_column

Defined in:
lib/roo/excelx/sheet.rb

#first_columnObject

returns the number of the first non-empty column



62
63
64
# File 'lib/roo/excelx/sheet.rb', line 62

def first_column
  @first_column ||= present_cells.keys.map { |_, col| col }.min
end