open? should return true, not 1
authorKevin Clark <kclark@apache.org>
Wed, 18 Jun 2008 01:10:30 +0000 (01:10 +0000)
committerKevin Clark <kclark@apache.org>
Wed, 18 Jun 2008 01:10:30 +0000 (01:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668965 13f79535-47bb-0310-9956-ffa450edef68

lib/rb/lib/thrift/transport.rb

index cc45fac..57706ec 100644 (file)
@@ -218,7 +218,7 @@ module Thrift
     end
 
     def open?
-      return 1
+      return true
     end
 
     def open