Sha256: 178f450f7106dd14f23fc2ba86201f1f130ad91a0e0be96cd699b0845e90cef6

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 Bytes

Contents

csv = <<-EOF
Website,URL
Propublica,http://www.propublica.org/
EOF

spreadsheet = TableFu.new(csv) do |s|
  s.formatting = {"Link" => {'method' => 'link', 'arguments' => ['Website','URL']}}
  s.columns = ["Link"]
end

spreadsheet.rows[0].column_for('Link').to_s

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
table_fu-0.1.1 examples/link.rb