lib/pvn/diff/paths.rb
# returns a map from names to logpaths
returns a map from names to logpaths
returns a map from names to logpaths
def to_map
      names_to_paths = Hash.new
      @elements.each { |path| names_to_paths[path.name] = path }
      names_to_paths
    end
def to_map names_to_paths = Hash . new @elements . each { | path | names_to_paths [ path . name ] = path } names_to_paths end
returns a map from names to logpaths
returns a map from names to logpaths