Class: CableX::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- CableX::InstallGenerator
- Defined in:
- lib/generators/cable_x/install/install_generator.rb
Overview
Install generator
Instance Method Summary collapse
Instance Method Details
#create_install_file ⇒ Object
9 10 11 12 |
# File 'lib/generators/cable_x/install/install_generator.rb', line 9 def create_install_file route('mount CableX::Engine.server => "/cable_x"') template 'cable_x_yml.rb.tt', File.join('config', 'cable_x.yml') end |