method

add_chain_to

v2_1_10 - Show latest stable - Class: Rake::Task
add_chain_to(exception, new_chain)
private

No documentation available.

# File lib/rake/task.rb, line 183
    def add_chain_to(exception, new_chain)
      exception.extend(InvocationExceptionMixin) unless
        exception.respond_to?(:chain)
      exception.chain = new_chain if exception.chain.nil?
    end