# File lib/fastri/ri_index.rb, line 87
    def path_name
      prefix = @full_name.split(/::|[#.]/)[0..-2]
      case @source_index
      when nil
        ## we'd like to do
        #@ri_index.source_paths_for(self).map do |path|
        #  File.join(File.join(path, *prefix), RI::RiWriter.internal_to_external(@name))
        #end
        # but RI doesn't support merging at the method-level, so
        path = @ri_index.source_paths_for(self).first
        File.join(File.join(path, *prefix), 
                  RI::RiWriter.internal_to_external(@name) + 
                  (singleton_method? ? "-c" : "-i" ) + ".yaml")
      else
        path = @ri_index.paths[@source_index]
        File.join(File.join(path, *prefix), 
                  RI::RiWriter.internal_to_external(@name) +
                  (singleton_method? ? "-c" : "-i" ) + ".yaml")
      end
    end