Class: Lacquer::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Lacquer::Generators::InstallGenerator
- Defined in:
- lib/generators/lacquer/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_initializer ⇒ Object
6 7 8 |
# File 'lib/generators/lacquer/install_generator.rb', line 6 def copy_initializer copy_file("initializer.rb", "config/initializers/lacquer.rb") end |
#copy_vcl ⇒ Object
10 11 12 |
# File 'lib/generators/lacquer/install_generator.rb', line 10 def copy_vcl copy_file("varnish.sample.vcl", "config/varnish.sample.vcl") end |