Module: CtTableFor
- Defined in:
- lib/ct_table_for.rb,
lib/ct_table_for/engine.rb,
lib/ct_table_for/version.rb,
app/helpers/ct_table_for/application_helper.rb
Defined Under Namespace
Modules: ApplicationHelper Classes: Config, Engine
Constant Summary collapse
- VERSION =
'1.2.2'
Class Method Summary collapse
- .config ⇒ Object
-
.setup {|config| ... } ⇒ Object
this function maps the vars from your app into your engine.
Class Method Details
.config ⇒ Object
32 33 34 |
# File 'lib/ct_table_for/engine.rb', line 32 def self.config @config||= Config.new end |
.setup {|config| ... } ⇒ Object
this function maps the vars from your app into your engine
37 38 39 |
# File 'lib/ct_table_for/engine.rb', line 37 def self.setup(&block) yield config end |