Create a task named task_name with no actions or prerequisites. Use enhance to add actions and prerequisites.
Source Code
# File rake.rb, line 447 def initialize(task_name, app) @name = task_name.to_s @prerequisites = FileList[] @actions = [] @already_invoked = false @full_comment = nil @comment = nil @lock = Mutex.new @application = app @scope = app.current_scope @arg_names = nil end
<code/>and<pre/>for code samples.