Class: Lacquer::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/lacquer/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_initializerObject



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_vclObject



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