class Boxwerk::PackageContext::Autoloader
Autoload configuration for a package box. Provides {AutoloaderMixin}‘s push_dir, collapse, ignore, and setup in boot.rb.
Registration happens immediately when push_dir or collapse is called, making constants available for the rest of the boot script without an explicit setup call.
Public Class Methods
Source
# File lib/boxwerk/package_context.rb, line 42 def initialize(root_path, box:, default_autoload_dirs: []) init_dirs @root_path = root_path @box = box @default_autoload_dirs = default_autoload_dirs end