Sha256: 4220c947b3e3d879b6a03c2d293855e5485ff65511cb4fec9a417f7554996575
Contents?: true
Size: 816 Bytes
Versions: 2
Compression:
Stored size: 816 Bytes
Contents
# frozen_string_literal: true module Datagrid extend ActiveSupport::Autoload autoload :Core autoload :ActiveModel autoload :Filters autoload :Columns autoload :ColumnNamesAttribute autoload :Ordering autoload :Configuration autoload :Helper autoload :FormBuilder autoload :Engine # Main datagrid class allowing to define columns and filters on your objects # # @example # class UsersGrid < Datagrid::Base # scope { User } # # filter(:id, :integer) # filter(:name, :string) # # column(:id) # column(:name) # end class Base include ::Datagrid::Core include ::Datagrid::ActiveModel include ::Datagrid::Filters include ::Datagrid::Columns include ::Datagrid::ColumnNamesAttribute include ::Datagrid::Ordering end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
datagrid-2.0.0 | lib/datagrid/base.rb |
datagrid-2.0.0.pre.alpha | lib/datagrid/base.rb |