Sha256: e344c36882e60665e6b18f0f3aa4ae7ab53b7bda0553cfe3b3f73df864ae8be2
Contents?: true
Size: 843 Bytes
Versions: 44
Compression:
Stored size: 843 Bytes
Contents
module Effective module EffectiveDatatable module Dsl def bulk_actions(&block) define_method('initialize_bulk_actions') { dsl_tool.instance_exec(&block); dsl_tool.bulk_actions_col } 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') do dsl_tool.in_datatables_do_block = true dsl_tool.instance_exec(&block) dsl_tool.in_datatables_do_block = false end end def filters(&block) define_method('initialize_filters') { dsl_tool.instance_exec(&block) } end end end end
Version data entries
44 entries across 44 versions & 1 rubygems