method

find_full_name

v1_8_6_287 - Show latest stable - Class: RDoc::Diagram
find_full_name(name, mod)
private

No documentation available.

# File lib/rdoc/diagram.rb, line 112
    def find_full_name(name, mod)
      full_name = name.dup
      return full_name if @local_names.include?(full_name)
      mod_path = mod.full_name.split('::')[0..-2]
      unless mod_path.nil?
        until mod_path.empty?
          full_name = mod_path.pop + '::' + full_name
          return full_name if @local_names.include?(full_name)
        end
      end
      return name
    end