I wish ruby went with hard/explicit imports like python or js.
Solves this problem and "magic" that so many complain about while retaining all the other great things to love about Ruby.
Solves this problem and "magic" that so many complain about while retaining all the other great things to love about Ruby.
Many times LSP's can't figure out where the code is coming from if it's a few layers deep. Then you're stuck with the time consuming method of running the code and doing something like what you're describing above just to read it.
require 'foo'
Bar = Foo::Bar