Class: Cf::Generators::InstallGenerator

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

Overview

:nodoc: all

Instance Method Summary collapse

Instance Method Details

#generate_initializerObject



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_readmeObject



12
13
14
# File 'lib/generators/cf/install/install_generator.rb', line 12

def show_readme
  readme 'README' if behavior == :invoke
end