Sha256: a36d15aa51bbbc899565eb7756824f6d7893633d9caa72f0617771997be1290d

Contents?: true

Size: 743 Bytes

Versions: 4

Compression:

Stored size: 743 Bytes

Contents

require "datagrid/core"
require "datagrid/active_model"
require "datagrid/filters"
require "datagrid/columns"
require "datagrid/ordering"

require "datagrid/helper"
require "datagrid/form_builder"

module Datagrid

  def self.included(base)
    base.extend         ClassMethods
    base.class_eval do

      include ::Datagrid::Core
      include ::Datagrid::ActiveModel
      include ::Datagrid::Filters
      include ::Datagrid::Columns
      include ::Datagrid::Ordering

    end
    base.send :include, InstanceMethods
  end # self.included

  module ClassMethods


  end # ClassMethods

  module InstanceMethods

  end # InstanceMethods

  class ConfigurationError < StandardError; end
  class ArgumentError < StandardError; end


end



Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
datagrid-0.4.1 lib/datagrid.rb
datagrid-0.4.0 lib/datagrid.rb
datagrid-0.3.6 lib/datagrid.rb
datagrid-0.3.5 lib/datagrid.rb