using yaml as the storage format of the result as it handles graphs out of the box

This commit is contained in:
Torsten Ruger
2014-07-18 00:30:36 +03:00
parent 98db88ac2f
commit 2e79caa791
2 changed files with 4 additions and 2 deletions

View File

@ -23,7 +23,7 @@ module Virtual
end
def inspect
self.class.name + ".new(" + attributes.collect{|a| send(a).inspect }.join(",")+ ")"
to_yaml
end
def self.space