class Sus::Registry
def call(assertions = Assertions.default)
def call(assertions = Assertions.default) @base.call(assertions) return assertions end
def children
def children @base.children end
def each(...)
def each(...) @base.each(...) end
def initialize(**options)
def initialize(**options) @base = Sus.base(self, **options) @loaded = {} end
def load(path)
def load(path) if ::File.directory?(path) load_directory(path) else load_file(path) end end
def load_directory(path)
def load_directory(path) lob(::File.join(path, DIRECTORY_GLOB), &self.method(:load_file))
def load_file(path)
def load_file(path) [path] ||= @base.file(path)
def print(output)
def print(output) output.write("Test Registry") end
def to_s
def to_s @base&.identity&.to_s || self.class.name end