Load constant Foo::Bar when Bar is seen inside Foo.
If we have a definition with
RubyLint.registry.register('Foo::Bar')
and code like
module Foo
Bar.baz
end
then ruby-lint should load "Foo::Bar" first, only then try "Bar".
If we have a definition with
RubyLint.registry.register('Foo::Bar')
and code like
module Foo
Bar.baz
end
then ruby-lint should load "Foo::Bar" first, only then try "Bar".