Module: VarnishRails
- Defined in:
- lib/varnish_rails.rb,
lib/varnish_rails/railtie.rb,
lib/varnish_rails/version.rb,
lib/generators/varnish_rails/install_generator.rb
Defined Under Namespace
Modules: Generators Classes: Configuration, Railtie
Constant Summary collapse
- VERSION =
'0.2.1'
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
20 21 22 |
# File 'lib/varnish_rails.rb', line 20 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
23 24 25 26 |
# File 'lib/varnish_rails.rb', line 23 def self.configure self.configuration ||= Configuration.new yield(configuration) end |