lib/rgl/bidirectional_adjacency.rb in rgl-0.6.0 vs lib/rgl/bidirectional_adjacency.rb in rgl-0.6.1

- old
+ new

@@ -50,11 +50,11 @@ end alias :has_out_edge? :has_edge? # @see BidirectionalGraph#each_in_neighbor - def each_in_neighbor(v) - @reverse.each_adjacent(v) + def each_in_neighbor(v, &b) + @reverse.each_adjacent(v, &b) end alias :each_out_neighbor :each_adjacent def in_neighbors(v)