Remove bogus Iface inclusion from Ruby tutorial
Reviewed By: mcslee
Test Plan: The Ruby tutorial is runnable with this fix
Other Notes: Submitted by Eric Wong
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665413 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tutorial/rb/RubyServer.rb b/tutorial/rb/RubyServer.rb
index 60d019f..6ecb563 100755
--- a/tutorial/rb/RubyServer.rb
+++ b/tutorial/rb/RubyServer.rb
@@ -10,8 +10,6 @@
require 'shared_types'
class CalculatorHandler
- include Calculator::Iface
-
def initialize()
@log = {}
end
@@ -24,7 +22,7 @@
print "add(", n1, ",", n2, ")\n"
return n1 + n2
end
-
+
def calculate(logid, work)
print "calculate(", logid, ", {", work.op, ",", work.num1, ",", work.num2,"})\n"
if work.op == Operation::ADD