X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fgraph%2Fvertex.rb~;h=0bccb57296cde47787b5b6b77f54a34a87f0393b;hb=0b3df692a2a00199692d72ede064821bc9bf5935;hp=6a85373fc76f03a656d6aa6878de66b19c63f718;hpb=624e339a169bd96eb01da7288a8904e0d1830e42;p=graph.njae.git diff --git a/lib/graph/vertex.rb~ b/lib/graph/vertex.rb~ index 6a85373..0bccb57 100644 --- a/lib/graph/vertex.rb~ +++ b/lib/graph/vertex.rb~ @@ -5,6 +5,7 @@ module Graph def initialize super self.edges = [] + self end def connect(other)