Class: Remoting::RecipeGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Remoting::RecipeGenerator
- Defined in:
- lib/generators/remoting/recipe_generator.rb
Instance Method Summary collapse
Instance Method Details
#install_recipe ⇒ Object
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 |