0.0
No commit activity in last 3 years
No release in over 3 years
Declarative excel reports based on axlsx.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.11
~> 10.0
~> 2.8, >= 2.8.3
~> 3.0

Runtime

~> 3.0, >= 3.0.1
 Project Readme

AxlsxReport

Declarative excel reports based on axlsx.

Installation

Add this line to your application's Gemfile:

gem 'axlsx_report'

And then execute:

$ bundle

Or install it yourself as:

$ gem install axlsx_report

Usage

require 'axlsx_report'

class BaseReport < AxlsxReport::Base
  column 'Number' do |i|
    i
  end

  column 'Square' do |i|
    i * i
  end
end

report = BaseReport.new

(1..10).each do |i|
  report << i
end

report.save('base_report.xlsx')

Find more examples in examples folder.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/avolochnev/axlsx_report.

License

The gem is available as open source under the terms of the MIT License.