Class: Remoting::RecipeGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/remoting/recipe_generator.rb

Instance Method Summary collapse

Instance Method Details

#install_recipeObject



7
8
9
10
11
# File 'lib/generators/remoting/recipe_generator.rb', line 7

def install_recipe
  names.each {|name|
    template "#{name}.rake", Rails.root.join("lib", "tasks", "remote", "#{name}.rake")
  }
end