Ruby test code fix, and BNF file for protocol

Reviewed By: aditya


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665148 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/rb/TestClient.rb b/test/rb/TestClient.rb
index a4aecb8..fedb818 100755
--- a/test/rb/TestClient.rb
+++ b/test/rb/TestClient.rb
@@ -26,6 +26,10 @@
 puts c.testList([1,2,3,4,5])
 puts c.testSet({1 => true, 2 => true, 3 => true})
 
+struct = Xtruct.new({'string_thing' => 'hi!', 'i32_thing' => 4 })
+puts c.testStruct(struct)
+puts c.testNest(Xtruct2.new({'struct_thing' => struct, 'i32_thing' => 10}))
+
 s.close()