Ruby Rogues
Sorbet with Ufuk Kayserilioglu - RUBY 664
Ufuk Kayserilioglu
And that signature annotation is also Ruby code. So you do like a sig block. So you say sig and then you start a block and then you say params and you declare your parameters and their types. And then you do a dot returns and then you declare the type of your return. And then you can do more things in there as well.
0
💬
0
Comments
Log in to comment.
There are no comments yet.