class RecipeBox::CreateRecipe
Public Class Methods
source_root()
click to toggle source
# File lib/recipe_box/create_recipe.rb, line 7 def self.source_root File.dirname(__FILE__) end
Public Instance Methods
create_directory()
click to toggle source
# File lib/recipe_box/create_recipe.rb, line 11 def create_directory empty_directory(name) end
create_recipe()
click to toggle source
# File lib/recipe_box/create_recipe.rb, line 15 def create_recipe template("../../templates/recipe.tt", "#{name}/#{name}.markdown") end