Class: Tim::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_configObject



8
9
10
# File 'lib/generators/tim/install_generator.rb', line 8

def copy_config
  copy_file "tim.rb", "config/initializers/tim.rb"
end

#show_readmeObject



11
12
13
# File 'lib/generators/tim/install_generator.rb', line 11

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