Class: RecipeBox::RemoveRecipe

Inherits:
Thor::Group
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/recipe_box/remove_recipe.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.source_rootObject



7
8
9
# File 'lib/recipe_box/remove_recipe.rb', line 7

def self.source_root
  File.dirname(__FILE__)
end

Instance Method Details

#remove_directoryObject



11
12
13
# File 'lib/recipe_box/remove_recipe.rb', line 11

def remove_directory
  remove_dir(name)
end