Ruby Rogues
Sorbet with Ufuk Kayserilioglu - RUBY 664
Ufuk Kayserilioglu
So you have your shop model or like shop.rb file, which hosts your shop model, but you also have this shop.rbi file that's generated for you, which contains all the method definitions that would be on the shop model dynamically. So having that Sorbet can say, oh yeah, okay, I know shop has this name method. So if you call shop.name, then yes, I know what that is.
0
💬
0
Comments
Log in to comment.
There are no comments yet.