Remove bogus Iface inclusion from Ruby tutorial
authorMark Slee <mcslee@apache.org>
Mon, 7 Jan 2008 21:50:30 +0000 (21:50 +0000)
committerMark Slee <mcslee@apache.org>
Mon, 7 Jan 2008 21:50:30 +0000 (21:50 +0000)
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

tutorial/rb/RubyServer.rb

index 60d019f..6ecb563 100755 (executable)
@@ -10,8 +10,6 @@ require 'Calculator'
 require 'shared_types'
 
 class CalculatorHandler
-  include Calculator::Iface
-
   def initialize()
     @log = {}
   end
@@ -24,7 +22,7 @@ class CalculatorHandler
     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