summaryrefslogtreecommitdiff
path: root/tutorial/rb
diff options
context:
space:
mode:
authorChristopher Piro <cpiro@apache.org>2007-06-28 01:09:22 +0000
committerChristopher Piro <cpiro@apache.org>2007-06-28 01:09:22 +0000
commitd795b9d3fdd78c9ec22e8487af9b52087853c085 (patch)
treef1e6a886085e86a4b8ff7bde87a30e809565ebf6 /tutorial/rb
parent82883299ef730cd2badf11ba4225de47709392e1 (diff)
downloadthrift-d795b9d3fdd78c9ec22e8487af9b52087853c085.tar.gz
typo in tutorial/rb/RubyServer.rb
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
Diffstat (limited to 'tutorial/rb')
-rwxr-xr-xtutorial/rb/RubyServer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/rb/RubyServer.rb b/tutorial/rb/RubyServer.rb
index ea39e15df..60d019f40 100755
--- a/tutorial/rb/RubyServer.rb
+++ b/tutorial/rb/RubyServer.rb
@@ -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