Skip to content
This repository
tree: 5e68fed450
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 13 lines (10 sloc) 0.284 kb
1 2 3 4 5 6 7 8 9 10 11 12
module Rails
  module Generators
    class TaskGenerator < NamedBase
      argument :actions, :type => :array, :default => [], :banner => "action action"

      def create_task_files
        template 'task.rb', File.join('lib/tasks', "#{file_name}.rake")
      end

    end
  end
end
Something went wrong with that request. Please try again.