# File lib/capistrano/task_definition.rb, line 8
    def initialize(name, namespace, options={}, &block)
      
      if name.to_s =~ /^(?:before_|after_)/
        Kernel.warn("[Deprecation Warning] Naming tasks with before_ and after_ is deprecated, please see the new before() and after() methods. (Offending task name was #{name})")
      end
      
      @name, @namespace, @options = name, namespace, options
      @desc = @options.delete(:desc)
      @on_error = options.delete(:on_error)
      @max_hosts = options[:max_hosts] && options[:max_hosts].to_i
      @body = block or raise ArgumentError, "a task requires a block"
      @servers = nil
    end