Update docs

This commit is contained in:
Douglas Eichelberger 2023-04-24 19:13:25 -07:00
parent e1f01c26ca
commit f3d397a12d

View File

@ -8,7 +8,7 @@ The [Sorbet Documentation] is a good place to get started if you want to dive de
### Inline Type Annotations
To add type annotations to a class or module, we extend it with the `T::Sig` module (read this as `Type::Signature`). This adds the `sig` method which is used to annotate method signatures. Here's a simple example:
The `sig` method is used to annotate method signatures. Here's a simple example:
```ruby
class MyClass