Module: TableHelp

Defined in:
lib/table_help.rb,
lib/table_help/config.rb,
lib/table_help/helper.rb,
lib/table_help/railtie.rb,
lib/table_help/version.rb,
lib/table_help/strategy.rb,
lib/table_help/formatter.rb,
lib/table_help/table_for.rb,
lib/table_help/attributes_table_for.rb

Defined Under Namespace

Modules: Formatter, Helper Classes: AttributesTableFor, Config, Railtie, Strategy, TableFor

Constant Summary collapse

VERSION =
"0.2.0".freeze

Class Method Summary collapse

Class Method Details

.configObject



10
11
12
# File 'lib/table_help.rb', line 10

def config
  @_config ||= Config.new
end

.configure {|config| ... } ⇒ Object

Yields:



6
7
8
# File 'lib/table_help.rb', line 6

def configure
  yield(config)
end