Support for the Ruby 2.1 series ended on March 31 2017. See here for details.

In Files

  • rake/invocation_exception_mixin.rb

Methods

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 rake/invocation_exception_mixin.rb, line 6
def chain
  @rake_invocation_chain ||= nil
end
            
chain=(value) click to toggle source

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

 
               # File rake/invocation_exception_mixin.rb, line 12
def chain=(value)
  @rake_invocation_chain = value
end