Class: Bently::ActsAsTaggableOn

Inherits:
RailsRecipe show all
Defined in:
lib/bently/recipe/acts-as-taggable-on.rb

Constant Summary

Constants inherited from RubyRecipe

RubyRecipe::GEMFILE

Instance Method Summary collapse

Methods inherited from RailsRecipe

#generate, #migrate

Methods inherited from RubyRecipe

#bundle, #gem, #gem_group

Methods inherited from Recipe

#append, breakdown, category, #code, #create, description, homepage, #insert, #modify, #operate, #operations, #prepend, #remove, #requirement, #run, #say, title, #todo, #usage, version, #warn

Constructor Details

#initializeActsAsTaggableOn

Returns a new instance of ActsAsTaggableOn.



7
8
9
10
11
12
13
14
15
# File 'lib/bently/recipe/acts-as-taggable-on.rb', line 7

def initialize
  gem 'acts-as-taggable-on', '~> 2.3.1'
  bundle
  generate 'acts_as_taggable_on:migration'
  migrate
  usage ''
  code template('usage.rb')
  usage 'See https://github.com/mbleigh/acts-as-taggable-on/blob/master/README.md#usage'
end