Module: TableFor

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

Defined Under Namespace

Modules: ViewAdditions Classes: Base, Engine

Constant Summary collapse

@@default_table_class =
nil

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



13
14
15
# File 'lib/table_for.rb', line 13

def self.setup
  yield self
end