Module: TableFor

Defined in:
lib/table_for.rb,
lib/table_for/base.rb,
lib/table_for/engine.rb,
lib/table_for/helper_methods.rb,
lib/table_for/view_additions.rb

Defined Under Namespace

Modules: HelperMethods, ViewAdditions Classes: Base, Engine

Constant Summary collapse

@@default_table_class =
nil
@@render_thead_element =
true
@@render_tbody_element =
true
@@render_tfoot_element =
true

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Default way to setup TableFor

Yields:

  • (_self)

Yield Parameters:

  • _self (TableFor)

    the object that the method was called on



22
23
24
# File 'lib/table_for.rb', line 22

def self.setup
  yield self
end