It seems like this functionality broke at some point recently.
For example:
module Foo
class Bar
def self.class_method
end
def some_method
end
end
end
Foo::Bar # clicking on Bar should find the class
Foo::Bar.class_method # clicking on class_method should find the method