X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=lib%2Fgraph%2Fvertex.rb~;fp=lib%2Fgraph%2Fvertex.rb~;h=0bccb57296cde47787b5b6b77f54a34a87f0393b;hb=ae1a87dd7453fbafe86a4d9e5113af7439e5981f;hp=6a85373fc76f03a656d6aa6878de66b19c63f718;hpb=a4531e10dbf7fb6e199fc9a63dc9bcd329c76d99;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)