In Files

  • rake/invocation_exception_mixin.rb



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
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

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit

blog comments powered by Disqus