Module: TableFor

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

Defined Under Namespace

Modules: ViewAdditions Classes: Base, Engine

Constant Summary collapse

VERSION =
"3.5.0"
@@config =
Hashie::Mash.new

Class Method Summary collapse

Class Method Details

.setup {|config| ... } ⇒ Object

Default way to setup TableFor

Yields:

  • (config)


18
19
20
# File 'lib/table_for.rb', line 18

def self.setup
  yield config
end