lib/rgl/adjacency.rb in rgl-0.5.10 vs lib/rgl/adjacency.rb in rgl-0.6.0

- old
+ new

@@ -159,9 +159,10 @@ @vertices_dict[v].add(u) # Insert backwards edge end end # class AdjacencyGraph + module Graph # Convert a general graph to an AdjacencyGraph. If the graph is directed, # returns a {DirectedAdjacencyGraph}; otherwise, returns an {AdjacencyGraph}. # @return {DirectedAdjacencyGraph} or {AdjacencyGraph}