You're not alone. Stripe has been working on adding types to Ruby with their static type checker, Sorbet: https://sorbet.org/. This seems to have a bit of momentum at this point. Assuming it continues in popularity I'm excited to see how this helps to improve Ruby work in an IDE.