Why this matters
Preserves invariants and prevents subtle bugs.
Freeze constant objects (arrays/hashes/strings) to avoid accidental mutation at runtime.
Preserves invariants and prevents subtle bugs.
Side-by-side examples engineers can pattern-match during review.
ALLOWED = %w[a b c]
ALLOWED << 'd'ALLOWED = %w[a b c].freezeHASH = {a: 1}HASH = {a: 1}.freezeFrom the same buckets as this rule.