Class: Riagent::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Riagent::Generators::InstallGenerator
- Defined in:
- lib/rails/generators/riagent/install/install_generator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
26 27 28 |
# File 'lib/rails/generators/riagent/install/install_generator.rb', line 26 def self.source_root @source_root ||= File.join(File.dirname(__FILE__), 'templates') end |
Instance Method Details
#create_config_file ⇒ Object
30 31 32 |
# File 'lib/rails/generators/riagent/install/install_generator.rb', line 30 def create_config_file template 'riak.yml', File.join('config', 'riak.yml') end |