typo in tutorial/rb/RubyServer.rb
authorChristopher Piro <cpiro@apache.org>
Thu, 28 Jun 2007 01:09:22 +0000 (01:09 +0000)
committerChristopher Piro <cpiro@apache.org>
Thu, 28 Jun 2007 01:09:22 +0000 (01:09 +0000)
Reviewed By: mcslee

Test Plan:

Revert Plan:

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665145 13f79535-47bb-0310-9956-ffa450edef68

tutorial/rb/RubyServer.rb

index ea39e15..60d019f 100755 (executable)
@@ -42,7 +42,7 @@ class CalculatorHandler
       end
       val = work.num1 / work.num2
     else
-      x = InvalidOperation()
+      x = InvalidOperation.new()
       x.what = work.op
       x.why = "Invalid operation"
       raise x