Class: Perkins::Generators::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#add_initObject



10
11
12
13
14
15
16
# File 'lib/generators/perkins/install/install_generator.rb', line 10

def add_init
  perkins_init = "app/assets/stylesheets/perkins_init.less"

  unless File.exist?(perkins_init)
    copy_file "perkins_init.less", perkins_init
  end
end