Strip more empty parens


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668967 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/rb/lib/thrift/transport.rb b/lib/rb/lib/thrift/transport.rb
index 684e838..439740d 100644
--- a/lib/rb/lib/thrift/transport.rb
+++ b/lib/rb/lib/thrift/transport.rb
@@ -58,11 +58,11 @@
   deprecate_class! :TTransport => Transport
 
   class ServerTransport
-    def listen(); nil; end
+    def listen; nil; end
 
-    def accept(); nil; end
+    def accept; nil; end
 
-    def close(); nil; end
+    def close; nil; end
   end
   deprecate_class! :TServerTransport => ServerTransport
 
@@ -80,16 +80,16 @@
       @wbuf = ''
     end
 
-    def open?()
-      return @transport.open?()
+    def open?
+      return @transport.open?
     end
 
-    def open()
-      @transport.open()
+    def open
+      @transport.open
     end
 
-    def close()
-      @transport.close()
+    def close
+      @transport.close
     end
 
     def read(sz)
@@ -100,9 +100,9 @@
       @wbuf << buf
     end
 
-    def flush()
+    def flush
       @transport.write(@wbuf)
-      @transport.flush()
+      @transport.flush
       @wbuf = ''
     end
   end
@@ -124,15 +124,15 @@
       @write     = write
     end
 
-    def open?()
+    def open?
       return @transport.open?
     end
 
-    def open()
+    def open
       @transport.open
     end
 
-    def close()
+    def close
       @transport.close
     end
 
@@ -243,7 +243,7 @@
     end
 
     def read(len)
-      avail = available()
+      avail = available
 
       return '' if avail == 0
 
@@ -260,7 +260,7 @@
 
     def write(wbuf)
       @buf  << wbuf
-      @wpos += wbuf.length()
+      @wpos += wbuf.length
     end
 
     def flush