Class: Rockdove::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Rockdove::Generators::InstallGenerator
- Defined in:
- lib/generators/rockdove/install_generator.rb
Overview
This generator copies the rockdove_server script file to your rails application script folder
Instance Method Summary collapse
-
#copy_script ⇒ Object
copy_script copies the rockdove_server script file to your application script folder.
Instance Method Details
#copy_script ⇒ Object
copy_script copies the rockdove_server script file to your application script folder
10 11 12 |
# File 'lib/generators/rockdove/install_generator.rb', line 10 def copy_script copy_file "rockdove_server.rb", "script/rockdove_server.rb" end |