class Gentelella::InstallGenerator
Public Instance Methods
copy_files()
click to toggle source
# File lib/generators/gentelella/install/install_generator.rb, line 6 def copy_files assets_folder = File.expand_path("app/assets") template_folder = File.expand_path(File.expand_path('../templates', __FILE__)) copy_file "#{template_folder}/gentelella-custom.js", "#{assets_folder}/javascripts/gentelella-custom.js" copy_file "#{template_folder}/gentelella-custom.scss", "#{assets_folder}/stylesheets/gentelella-custom.scss" end