Login
From:
sorbet.org
(Uncensored)
subscribe
Types for Class Objects via T.class_of · Sorbet
https://sorbet.org/docs/class-of
links
backlinks
Roast topics
Find topics
Find it!
Classes are also values in Ruby. Sorbet has two ways to describe the type of these class objects: `T.class_of(...)` and `T::Class[...]`.