Method: Roo::Excelx::Sheet#column

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

#column(col_number) ⇒ Object



57
58
59
60
61
# File 'lib/roo/excelx/sheet.rb', line 57

def column(col_number)
  first_row.upto(last_row).map do |row|
    cells[[row, col_number]]&.value
  end
end