Class: Recipes::Annotate
- Inherits:
-
Rails::AppBuilder
- Object
- Rails::AppBuilder
- Recipes::Annotate
- Defined in:
- lib/potassium/recipes/annotate.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'lib/potassium/recipes/annotate.rb', line 2 def create gather_gems(:development) do gather_gem('annotate') end template '../assets/lib/tasks/auto_annotate_models.rake', 'lib/tasks/auto_annotate_models.rake' end |
#install ⇒ Object
11 12 13 14 15 16 |
# File 'lib/potassium/recipes/annotate.rb', line 11 def install create after(:gem_install) do run "bundle exec annotate" end end |