From b7608cc947bcca078644516a288a6bef67f7f09a Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Wed, 21 Nov 2012 23:15:44 +0000 Subject: Added .to_json method to serialize our tests. --- bin/custodian-parse-execute | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/custodian-parse-execute b/bin/custodian-parse-execute index 5ef48a7..22c29b8 100755 --- a/bin/custodian-parse-execute +++ b/bin/custodian-parse-execute @@ -38,7 +38,9 @@ end begin c = ProtocolTest.create( txt ) - puts "created object: #{c.to_s}" + puts "created object of class type #{c.class}" + puts ".to_s : #{c.to_s}" + puts ".to_json : #{c.to_json}" if ( c.run_test ) puts "Test succeeded" -- cgit v1.2.1