Module: XlsxtreamRails::ClassMethods
- Defined in:
- lib/xlsxtream_rails/class_methods.rb
Instance Method Summary collapse
Instance Method Details
#to_xlsx ⇒ Object
3 4 5 6 |
# File 'lib/xlsxtream_rails/class_methods.rb', line 3 def to_xlsx except_columns = respond_to?(:xlsx_except_columns) ? xlsx_except_columns : [] (column_names - except_columns).map { |x| x.to_sym } end |