Class: CableX::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/cable_x/install/install_generator.rb

Overview

Install generator

Instance Method Summary collapse

Instance Method Details

#create_install_fileObject



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