Class: Veritrans::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Veritrans::Generators::InstallGenerator
- Defined in:
- lib/generators/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_or_update_config_files ⇒ Object
15 16 17 18 |
# File 'lib/generators/install_generator.rb', line 15 def create_or_update_config_files path = __FILE__.sub(__FILE__.split('/').pop,'templates/config/') create_file("config/veritrans.yml",IO.read("#{path}veritrans.yml")) end |