mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
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
This commit is contained in:
parent
82883299ef
commit
d795b9d3fd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user