Sha256: 9bc0416cb0ee242e22e3147fe4d7b8a073a2653c4e48270a14e4b2960b5206a6
Contents?: true
Size: 658 Bytes
Versions: 2
Compression:
Stored size: 658 Bytes
Contents
require "action_view" require "table_for/engine" require "blocks" module TableFor autoload :Base, "table_for/base" autoload :ViewAdditions, "table_for/view_additions" autoload :HelperMethods, "table_for/helper_methods" mattr_accessor :default_table_class @@default_table_class = nil mattr_accessor :render_thead_element @@render_thead_element = true mattr_accessor :render_tbody_element @@render_tbody_element = true mattr_accessor :render_tfoot_element @@render_tfoot_element = true # Default way to setup TableFor def self.setup yield self end end ActionView::Base.send :include, TableFor::ViewAdditions::ClassMethods
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
table-for-3.1.0 | lib/table_for.rb |
table-for-3.0.0 | lib/table_for.rb |