Module: Rake::InvocationExceptionMixin

Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/invocation_exception_mixin.rb

Instance Method Summary collapse

Instance Method Details

#chainObject

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.



7
8
9
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/invocation_exception_mixin.rb', line 7

def chain
  @rake_invocation_chain ||= nil
end

#chain=(value) ⇒ Object

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



13
14
15
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/invocation_exception_mixin.rb', line 13

def chain=(value)
  @rake_invocation_chain = value
end