Foo.new(…) returns type Foo but RubyMine thinks that it is of type Hash{Symbol->Object}. Is there a better workaround than adding multiple lines of boilerplate for each and every class?
We’re only able to use Ruby 3.0 at this time. Using the new Rubymine EAP is fine. Even a new plugin dependency wouldn’t hurt at this point.
Can only upload one image per post, screenshots are here: Imgur: The magic of the Internet