Class: Bently::GitignoreRails

Inherits:
Recipe
  • Object
show all
Defined in:
lib/bently/recipe/gitignore-rails.rb

Instance Method Summary collapse

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

#initializeGitignoreRails

Returns a new instance of GitignoreRails.



7
8
9
# File 'lib/bently/recipe/gitignore-rails.rb', line 7

def initialize
  append '.gitignore', template('.gitignore')
end