Class: Koala::Generators::InstallGenerator

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

Overview

:nodoc:

Instance Method Summary collapse

Methods included from TemplatePath

source_root

Instance Method Details

#copy_config_fileObject

:nodoc:



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

def copy_config_file # :nodoc:
  template "config/facebook.yml.tt", "config/facebook.yml"
end

#copy_initializer_fileObject

:nodoc:



13
14
15
# File 'lib/generators/koala/install/install_generator.rb', line 13

def copy_initializer_file # :nodoc:
  template "config/initializers/koala.rb.tt", "config/initializers/koala.rb"
end