Class: HarmoniousDictionary::Generators::SetupGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- HarmoniousDictionary::Generators::SetupGenerator
- Defined in:
- lib/generators/harmonious_dictionary/setup/setup_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_setup ⇒ Object
9 10 11 12 13 |
# File 'lib/generators/harmonious_dictionary/setup/setup_generator.rb', line 9 def generate_setup #copy_file "remote_server.yml", "config/harmonious_dictionary/remote_server.yml" copy_file "chinese_dictionary.txt", "config/harmonious_dictionary/chinese_dictionary.txt" copy_file "english_dictionary.txt", "config/harmonious_dictionary/english_dictionary.txt" end |