class Schematrix::Generators::Templates::SorbetRuby
Rendering logic for the Sorbet Ruby generator
Constants
- UNTYPABLE_SLOT_TYPES
-
Slot terms that cannot answer .nil? under typed: strict: T.anything admits no calls (7003) and the null-only, noreturn and disjoint T.all terms make the to_h presence guard statically dead (7006). Those slots type as T.untyped, which admits the guard and stays honest about the runtime values from_h passes.