You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This creates new type names that refer to the same class or module as the original.
597
615
598
-
The annotations can have optional type name to specify the class/module name, for the case it cannot be infered through the right-hand-side of the constant declaration.
616
+
The annotations can have optional type name to specify the class/module name, for the case it cannot be inferred through the right-hand-side of the constant declaration.
599
617
600
618
```ruby
601
619
MyObject = object #: class-alias Object
602
620
603
621
MyKernel = kernel #: module-alias Kernel
604
622
```
623
+
624
+
## Skip Annotation
625
+
626
+
The `@rbs skip` annotation makes inline RBS ignore the following declaration.
0 commit comments