Class: Mustache::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Extended by:
TemplatePath
Defined in:
lib/generators/mustache/install/install_generator.rb

Instance Method Summary collapse

Methods included from TemplatePath

source_root

Instance Method Details

#copy_initializer_filesObject



8
9
10
11
# File 'lib/generators/mustache/install/install_generator.rb', line 8

def copy_initializer_files
  copy_file "config/initializers/mustache.rb", "config/initializers/mustache.rb"
  copy_file "lib/mustache_rails.rb", "lib/mustache_rails.rb"
end