CodeSampleX

Exemple

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

Cas

Objectif
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
Paquets
zeitwerk 2.8.3
Environnement
ruby
Créé
2026-08-17T02:49:39Z

Ce que l'on suppose souvent

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

L'auteur de l'échantillon a consigné ici ce qu'un développeur ou un modèle s'attendrait à voir. Le contrat ci-dessous est ce qui s'est réellement exécuté.

Contrat

Fichiers

Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté

Seeder d'origine

csx-seed

Reçus de vérification