module Rake::InvocationExceptionMixin

Public Instance Methods

chain() click to toggle source

Return the invocation chain (list of Rake tasks) that were in effect when this exception was detected by rake. May be null if no tasks were active.

  # File lib/rake/invocation_exception_mixin.rb
6 def chain
7   @rake_invocation_chain ||= nil
8 end
chain=(value) click to toggle source

Set the invocation chain in effect when this exception was detected.

   # File lib/rake/invocation_exception_mixin.rb
12 def chain=(value)
13   @rake_invocation_chain = value
14 end