Module: RailsTemplateCacheSenexx
- Defined in:
- lib/rails-template-cache-senexx.rb,
lib/rails-template-cache-senexx/engine.rb,
lib/rails-template-cache-senexx/version.rb,
lib/rails-template-cache-senexx/template.rb
Defined Under Namespace
Classes: Engine, Template
Constant Summary
collapse
- VERSION =
"0.2.1"
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
14
15
16
|
# File 'lib/rails-template-cache-senexx.rb', line 14
def self.config
Rails.application.config
end
|
.setup {|@@config.rails_template_cache| ... } ⇒ Object
8
9
10
11
12
|
# File 'lib/rails-template-cache-senexx.rb', line 8
def self.setup(&block)
set_config
yield @@config.rails_template_cache if block
@@config.rails_template_cache
end
|