lib/grumlin/vertex.rb in grumlin-0.1.3 vs lib/grumlin/vertex.rb in grumlin-0.2.0

- old
+ new

@@ -8,14 +8,14 @@ @label = label @id = Typing.cast(id) end def ==(other) - @label == other.label && @id == other.id + self.class == other.class && @label == other.label && @id == other.id end def inspect - "<V #{@label}(#{@id})>" + "v[#{@id}]" end alias to_s inspect end end