Class: Bullseye::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/bullseye/engine.rb

Instance Method Summary collapse

Instance Method Details

#create_initializer_fileObject



20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'lib/bullseye/engine.rb', line 20

def create_initializer_file
  copy_file "config/initializers/bullseye.rb", "config/initializers/bullseye.rb"

  puts
  puts "Add to your main application.js file:"
  puts
  puts "//= require bullseye"
  puts
  puts "and replace your body tag layouts/application.html with a call to bullseye_body:"
  puts
  puts "= bullseye_body do"
  puts
end