Module: Rake::InvocationExceptionMixin (Ruby 2.7.5)
Description: Module : Rake::InvocationExceptionMixin - Ruby 2.7.5

### Home Classes Methods

### In Files

- rake-13.0.1/lib/rake/invocation_exception_mixin.rb

### Methods

- #chain
- #chain=

### Files

- CONTRIBUTING.rdoc
- History.rdoc
- README.rdoc
- command_line_usage.rdoc
- glossary.rdoc
- proto_rake.rdoc
- rakefile.rdoc
- rational.rdoc

### Class/Module Index

Quicksearch

- FileUtils
- Module
- Object
- RDoc
- RDoc::Page
- Rake::Application
- Rake::DSL
- Rake::DefaultLoader
- Rake::EarlyTime
- Rake::FileCreationTask
- Rake::FileList
- Rake::FileTask
- Rake::FileUtilsExt
- Rake::InvocationChain
- Rake::InvocationChain::EmptyInvocationChain
- Rake::InvocationExceptionMixin
- Rake::LateTime
- Rake::LinkedList
- Rake::LinkedList::EmptyLinkedList
- Rake::MakefileLoader
- Rake::MultiTask
- Rake::NameSpace
- Rake::PackageTask
- Rake::PrivateReader
- Rake::RakeFileUtils
- Rake::RuleRecursionOverflowError
- Rake::Scope
- Rake::Task
- Rake::TaskArgumentError
- Rake::TaskArguments
- Rake::TaskLib
- Rake::TaskManager
- Rake::TestTask
- Rake::Win32
- String

No matching classes.

# 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-13.0.1/lib/rake/invocation_exception_mixin.rb, line 7
    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-13.0.1/lib/rake/invocation_exception_mixin.rb, line 13
    def chain=(value)
      @rake_invocation_chain = value
    end