Class: Koala::Generators::InstallGenerator

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

Instance Method Summary collapse

Methods included from TemplatePath

source_root

Instance Method Details

#copy_config_fileObject



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

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

#copy_helper_fileObject



16
17
18
# File 'lib/generators/koala/install/install_generator.rb', line 16

def copy_helper_file
  template "app/helpers/facebook_helper.rb.tt", "app/helpers/facebook_helper.rb"
end

#copy_initializer_fileObject



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

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