Module: T::Types::Simple::NamePatch
- Included in:
- T::Types::Simple
- Defined in:
- lib/tapioca/sorbet_ext/name_patch.rb
Instance Method Summary collapse
Instance Method Details
#name ⇒ Object
12 13 14 15 16 |
# File 'lib/tapioca/sorbet_ext/name_patch.rb', line 12 def name # Sorbet memoizes this method into the `@name` instance variable but # doing so means that types get memoized before this patch is applied ::Tapioca::Runtime::Reflection.qualified_name_of(@raw_type) end |