Module: Kobako::Snippet
- Defined in:
- lib/kobako/snippet.rb,
lib/kobako/snippet/table.rb,
lib/kobako/snippet/binary.rb,
lib/kobako/snippet/source.rb
Overview
Kobako::Snippet — namespace for the per-Sandbox preloaded snippet registry and its entry value objects (docs/behavior.md B-32 / B-33).
The Table owns insertion-ordered storage and seal-coordination with the owning Sandbox; Source is the value object representing a single #preload(code:, name:) entry. Entry types live as siblings under this module rather than nested under Table so they remain plain value objects with no implicit dependency on the registry that holds them.