Class: Rubuild::Build::Context
- Inherits:
-
Object
- Object
- Rubuild::Build::Context
- Defined in:
- lib/rubuild/build/context.rb
Overview
Rubuild::Build::Context Rubuild::Build::Context is the base class of all dependancy execution environments in Rubuild. The Rubuild::Build::Context will trap any errors raised by associated dependancies - and only those associated dependancies - during the ‘run’ step, and as such provides some measure of recoverability for errors occurring in parent dependancies when trying to undertake certain actions: in order to recover from an error executing a command, create a new Rubuild::Build::Context as part of your dependancy action and run it.
Defined Under Namespace
Classes: Error, ProtocolClass
Constant Summary collapse
- Protocol =
Safer::Protocol.create_from_class(ProtocolClass)