Sha256: ae94caff74622c84dadb6fd655b037328af8259c4fc198b8599d3ce8d9f63d60

Contents?: true

Size: 265 Bytes

Versions: 2

Compression:

Stored size: 265 Bytes

Contents

module ActiveAdmin
  module Axlsx
    module ResourceExtension
      def xlsx_builder=(builder)
        @xlsx_builder = builder
      end

      def xlsx_builder
        @xlsx_builder ||= ActiveAdmin::Axlsx::Builder.new(resource_class)
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activeadmin-axlsx-2.0.1 lib/active_admin/axlsx/resource_extension.rb
activeadmin-axlsx-2.0.0 lib/active_admin/axlsx/resource_extension.rb