Sha256: 915fd23f82f41e167a7d4583bee4c58c5d5c2b636114cf8e29d1c462ea90dc28

Contents?: true

Size: 696 Bytes

Versions: 22

Compression:

Stored size: 696 Bytes

Contents

module Effective
  module EffectiveDatatable
    module Dsl

      def bulk_actions(&block)
        define_method('initialize_bulk_actions') { dsl_tool.instance_exec(&block) }
      end

      def charts(&block)
        define_method('initialize_charts') { dsl_tool.instance_exec(&block) }
      end

      def collection(&block)
        define_method('initialize_collection') { self._collection = dsl_tool.instance_exec(&block) }
      end

      def datatable(&block)
        define_method('initialize_datatable') { dsl_tool.instance_exec(&block) }
      end

      def filters(&block)
        define_method('initialize_filters') { dsl_tool.instance_exec(&block) }
      end

    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
effective_datatables-3.2 app/models/effective/effective_datatable/dsl.rb
effective_datatables-3.1.3 app/models/effective/effective_datatable/dsl.rb
effective_datatables-3.1.2 app/models/effective/effective_datatable/dsl.rb
effective_datatables-3.1.1 app/models/effective/effective_datatable/dsl.rb
effective_datatables-3.1.0 app/models/effective/effective_datatable/dsl.rb
effective_datatables-3.0.16 app/models/effective/effective_datatable/dsl.rb
effective_datatables-3.0.15 app/models/effective/effective_datatable/dsl.rb
effective_datatables-3.0.14 app/models/effective/effective_datatable/dsl.rb
effective_datatables-3.0.13 app/models/effective/effective_datatable/dsl.rb
effective_datatables-3.0.12 app/models/effective/effective_datatable/dsl.rb
effective_datatables-3.0.11 app/models/effective/effective_datatable/dsl.rb
effective_datatables-3.0.10 app/models/effective/effective_datatable/dsl.rb
effective_datatables-3.0.9 app/models/effective/effective_datatable/dsl.rb
effective_datatables-3.0.8 app/models/effective/effective_datatable/dsl.rb
effective_datatables-3.0.7 app/models/effective/effective_datatable/dsl.rb
effective_datatables-3.0.6 app/models/effective/effective_datatable/dsl.rb
effective_datatables-3.0.5 app/models/effective/effective_datatable/dsl.rb
effective_datatables-3.0.4 app/models/effective/effective_datatable/dsl.rb
effective_datatables-3.0.3 app/models/effective/effective_datatable/dsl.rb
effective_datatables-3.0.2 app/models/effective/effective_datatable/dsl.rb