method
add_chain_to
v1_9_3_125 -
Show latest stable
- Class:
Rake::Task
add_chain_to(exception, new_chain)private
No documentation available.
# File lib/rake/task.rb, line 166
def add_chain_to(exception, new_chain)
exception.extend(InvocationExceptionMixin) unless exception.respond_to?(:chain)
exception.chain = new_chain if exception.chain.nil?
end