module Boxwerk
Boxwerk is a package isolation system for Ruby applications built on Ruby::Box. It loads each package in its own Ruby::Box, enforcing dependency and privacy boundaries declared in package.yml files.
Constants
- VERSION
Public Class Methods
Source
# File lib/boxwerk.rb, line 32 def global Ruby::Box.root.const_get(:BOXWERK_GLOBAL) end
Returns the {GlobalContext}. @return [GlobalContext]
Source
# File lib/boxwerk.rb, line 26 def package nil end
Returns the {PackageContext} for the currently executing package. Returns nil in the root box. @return [PackageContext, nil]