class Recipes::Annotate
Public Instance Methods
create()
click to toggle source
# File lib/potassium/recipes/annotate.rb, line 2 def create gather_gems(:development) do gather_gem('annotate', '~> 3.0') end template '../assets/lib/tasks/auto_annotate_models.rake', 'lib/tasks/auto_annotate_models.rake' end
install()
click to toggle source
# File lib/potassium/recipes/annotate.rb, line 11 def install create after(:gem_install) do run "bundle exec annotate" end end