Sha256: 36e39fa7d4c7633069f39c3075830e4a78df7f50758c09b5fc3a682ead346b74

Contents?: true

Size: 375 Bytes

Versions: 4

Compression:

Stored size: 375 Bytes

Contents

module ActiveAdmin
  module Axlsx
    module DSL
      delegate :ingnore_columns, :column, :after_filer, :i18n_scope, :header_style, to: :xlsx_builder, prefix: :config
      # @see ActiveAdmin::Axlsx::Builder
      def xlsx(options={}, &block)
        config.xlsx_builder = ActiveAdmin::Axlsx::Builder.new(config.resource_class, options, &block)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
activeadmin-axlsx-2.1.2 lib/active_admin/axlsx/dsl.rb
activeadmin-axlsx-2.1.1 lib/active_admin/axlsx/dsl.rb
activeadmin-axlsx-2.0.1 lib/active_admin/axlsx/dsl.rb
activeadmin-axlsx-2.0.0 lib/active_admin/axlsx/dsl.rb