Sha256: 7a0f922c711fc08b0404ae500221b1e901320199cdfb8db56a8d1031c856e2f7
Contents?: true
Size: 996 Bytes
Versions: 3
Compression:
Stored size: 996 Bytes
Contents
require "action_view" require "datagrid/configuration" module Datagrid extend ActiveSupport::Autoload autoload :Core autoload :ActiveModel autoload :Filters autoload :Columns autoload :ColumnNamesAttribute autoload :Ordering autoload :Configuration autoload :Helper ActionView::Base.send(:include, Datagrid::Helper) autoload :FormBuilder ActionView::Helpers::FormBuilder.send(:include, Datagrid::FormBuilder) autoload :Renderer autoload :Engine 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::ColumnNamesAttribute include ::Datagrid::Ordering end end # self.included module ClassMethods end # ClassMethods class ConfigurationError < StandardError; end class ArgumentError < ::ArgumentError; end end require "datagrid/scaffold"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
datagrid-0.9.3 | lib/datagrid.rb |
datagrid-0.9.2 | lib/datagrid.rb |
datagrid-0.9.0 | lib/datagrid.rb |