Module: T::Syntax

Includes:
DefMods, Helpers, Sig
Defined in:
lib/types/syntax.rb

Overview

Used as a shortcut for mixing in the three most common “syntax” extensions that Sorbet provides: ‘sig`, the various sig DSL methods like `abstract` and `override`, and the `final!`/`interface!` etc. syntax for class-level annotations

Constant Summary

Constants included from Helpers

Helpers::Private

Method Summary

Methods included from Helpers

#abstract!, #final!, #interface!, #mixes_in_class_methods, #requires_ancestor, #sealed!

Methods included from DefMods

#abstract, #final, #overridable, #override

Methods included from Sig

#sig

Methods included from Private::Methods::SingletonMethodHooks

#singleton_method_added

Methods included from Private::Methods::MethodHooks

#method_added