Class: Rockdove::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
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

Instance Method Details

#copy_scriptObject

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