Added SimpleCov, added tests for Vertex#to_s and Edge#to_s
[graph.njae.git] / lib / graph.njae / vertex.rb
index 6e46dcb40029aef8ceca16ad5c5ea2fc5a789c46..aca3fa9aea23baccb74156c6fe8ce29fd3d17477 100644 (file)
@@ -40,7 +40,7 @@ module GraphNjae
     end
     
     def to_s
-      '<V: ' + self.name + '>'
+      '<V: ' + self.name.to_s + '>'
     end
     
   end