Class: Rg::AppGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Rg::AppGenerator
- Includes:
- Helper
- Defined in:
- lib/generators/rg/app_generator.rb
Constant Summary
Constants included from Helper
Helper::APP_PATH, Helper::JS_PATH
Instance Method Summary collapse
Methods included from Helper
#appName, #app_name, #bowerName, #camelizeLower, included, #railsName
Instance Method Details
#create_app_config ⇒ Object
7 8 9 |
# File 'lib/generators/rg/app_generator.rb', line 7 def create_app_config template 'app/config.coffee.erb', APP_PATH + "/app/#{file_name}.coffee" end |