0.0
No commit activity in last 3 years
No release in over 3 years
connector and jruby sinatra app to generate excel spreadsheets
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme
#to run the server

rbenv shell jruby-1.6.5
gem install excel_builder
cd $(gem which excel_builder | xargs dirname)/../ext
bundle --version || gem install bundler
bundle install
ruby app.rb

#to use the client

rbenv shell 1.9.2-p290
gem install excel_builder

irb
require 'rubygems'
require 'excel_builder'
ExcelBuilder::Connector.site = 'http://localhost:4567'
File.open('test.xlsx', 'w') do |f|
  file_contents = ExcelBuilder::Connector.generate_xlsx('text.xlsx') do |workbook|
    sheet = workbook.worksheets['hello']
    sheet.rows[0][0].value = 4.0
  end
  f.write file_contents
end