Module: XlsxtreamRails
- Defined in:
- lib/xlsxtream_rails.rb,
lib/xlsxtream_rails/utils.rb,
lib/xlsxtream_rails/railtie.rb,
lib/xlsxtream_rails/version.rb,
lib/xlsxtream_rails/class_methods.rb
Defined Under Namespace
Modules: ClassMethods, Utils
Classes: Railtie
Constant Summary
collapse
- VERSION =
"0.8.0"
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.included(base) ⇒ Object
8
9
10
|
# File 'lib/xlsxtream_rails.rb', line 8
def self.included(base)
base.send(:extend, ClassMethods)
end
|
Instance Method Details
#xlsx_columns(opts = {}) ⇒ Object
12
13
14
|
# File 'lib/xlsxtream_rails.rb', line 12
def xlsx_columns(opts = {})
self.class.to_xlsx
end
|