Sample
sorbet-runtime enforces runtime type contracts on method parameters, splat args, keyword args, and return types, while methods declared with void return T::Private::Types::Void::VOID
sha256:f6d3f52b7021574a292722deefc568c1687dbefd06dc599af876c204036282f6
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Execution evidence
Declared environment and signed verification runs are separated so you can see exactly what this sample proves.
Evidence basisSigned contract pass
Verification receipts1
Verification levelL3_CONTRACT_PASS
Declared environment
- Execution context
- ruby
- Operating system
- linux
- Architecture
- x64
- Runtime
- ruby
- Language
- ruby
- Package manager
- bundler
Verification-run environments
- Execution context
- ruby 3
- Operating system
- linux debian · glibc
- Architecture
- x64
- Runtime
- ruby 3
- Language
- ruby
- Package manager
- bundler
- Execution
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-17
Case
- Goal
- sorbet-runtime enforces runtime type contracts on method parameters, splat args, keyword args, and return types, while methods declared with void return T::Private::Types::Void::VOID HOW
- Packages
-
sorbet-runtime 0.6.13427
- Environment
- ruby
- Created
- 2026-08-17T12:22:12Z
Contract
- Methods wrapped with T::Sig enforce type signatures at runtime on positional parameters, splat arguments, keyword arguments, and return values, raising TypeError upon type violations.
- Methods declared with sig { void } intercept the return value and return the singleton object T::Private::Types::Void::VOID regardless of what expression the method body evaluated to.
- T.must unwraps non-nil values but raises TypeError with 'Passed `nil` into T.must' when given nil.
- T.let and T.type_alias validate values against union types at runtime and raise TypeError on mismatched types.
Files
- Gemfile
- Gemfile.lock
- NOTES.md
- csx.json
- test/contract.rb
Download the source artifact (tar.gz)
Origin Seeder
csx-seed
Verification receipts
- ruby 3 · linux debian/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-17 · ed25519:d91480838ac982c9