CodeSampleX

Sample

Configure root directories with Zeitwerk and handle default top-level Object namespace and directory-filtering defaults in push_dir and dirs without name collisions or missing constant errors

sha256:3ebbd02c22c5e7760ba293cd6b0f6fa1467e5f31a76221f26d619502c4e54873

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Configure root directories with Zeitwerk and handle default top-level Object namespace and directory-filtering defaults in push_dir and dirs without name collisions or missing constant errors HOW
Packages
zeitwerk 2.8.3
Environment
ruby
Created
2026-08-17T02:49:39Z

Commonly assumed

push_dir without an explicit namespace parameter scopes autoloaded constants under a module matching the directory name.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts