Sha256: 8d759963efbbc60136e6773f7418154a12844aba662d7f5e0c21eecc8d6d3d3b

Contents?: true

Size: 167 Bytes

Versions: 8

Compression:

Stored size: 167 Bytes

Contents

spreadsheet = TableFu.new(csv) do |s|
  s.columns = ["Best Book", "Author"]
end

spreadsheet.columns.map do |column|
  spreadsheet.rows[0].column_for(column).to_s
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
table_fu-0.3.4 examples/columns.rb
table_fu-0.3.3 examples/columns.rb
table_fu-0.3.2 examples/columns.rb
table_fu-0.3.1 examples/columns.rb
table_fu-0.3.0 examples/columns.rb
table_fu-0.2.1 examples/columns.rb
table_fu-0.2.0 examples/columns.rb
table_fu-0.1.1 examples/columns.rb