Class: Cf::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Cf::Generators::InstallGenerator
- Defined in:
- lib/generators/cf/install/install_generator.rb
Overview
:nodoc: all
Instance Method Summary collapse
Instance Method Details
#generate_initializer ⇒ Object
7 8 9 10 |
# File 'lib/generators/cf/install/install_generator.rb', line 7 def generate_initializer say_status("Generating", "CloudFactory initializer", :green) template "cloudfactory.rb", "config/initializers/cloudfactory.rb" end |
#show_readme ⇒ Object
12 13 14 |
# File 'lib/generators/cf/install/install_generator.rb', line 12 def show_readme readme 'README' if behavior == :invoke end |