Class: Tim::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Tim::InstallGenerator
- Defined in:
- lib/generators/tim/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_config ⇒ Object
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_readme ⇒ Object
11 12 13 |
# File 'lib/generators/tim/install_generator.rb', line 11 def show_readme readme 'README' if behavior == :invoke end |