A
as
Hi,
I'm looking for a way to create a link to a local file with the
spreadsheet gem. I can make a link to a site (see example below), but
what is the syntax for a file?
Thanks,
%%%%%
#!/usr/bin/env ruby
require 'rubygems'
require 'spreadsheet'
book = Spreadsheet::Workbook.new
sheet = book.create_worksheet
sheet[0,0] =
Spreadsheet::Link.new(url='http://www.google.fr',fragment="google")
book.write 'test.xls'
%%%%
I'm looking for a way to create a link to a local file with the
spreadsheet gem. I can make a link to a site (see example below), but
what is the syntax for a file?
Thanks,
%%%%%
#!/usr/bin/env ruby
require 'rubygems'
require 'spreadsheet'
book = Spreadsheet::Workbook.new
sheet = book.create_worksheet
sheet[0,0] =
Spreadsheet::Link.new(url='http://www.google.fr',fragment="google")
book.write 'test.xls'
%%%%