diff options
author | Kevin Clark <kclark@apache.org> | 2008-06-18 00:54:13 +0000 |
---|---|---|
committer | Kevin Clark <kclark@apache.org> | 2008-06-18 00:54:13 +0000 |
commit | 2960044415917973aeeb8c6d9132319eef69139a (patch) | |
tree | ea1e940d067d24ae00c4371ca1fa3774545eda45 /tutorial/rb | |
parent | 10cdf10a7bd5326680cc2384f8a812cff573a1df (diff) | |
download | thrift-2960044415917973aeeb8c6d9132319eef69139a.tar.gz |
rb: Add more classes/modules to the Thrift namespace. Provide backwards compatable mappings.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668904 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tutorial/rb')
-rwxr-xr-x | tutorial/rb/RubyClient.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tutorial/rb/RubyClient.rb b/tutorial/rb/RubyClient.rb index d40ff4964..1b5d5db5d 100755 --- a/tutorial/rb/RubyClient.rb +++ b/tutorial/rb/RubyClient.rb @@ -2,8 +2,8 @@ $:.push('../gen-rb') -require 'thrift/transport/tsocket.rb' -require 'thrift/protocol/tbinaryprotocol.rb' +require 'thrift/transport/tsocket' +require 'thrift/protocol/tbinaryprotocol' require 'Calculator' @@ -51,6 +51,6 @@ begin transport.close() -rescue TException => tx - print 'TException: ', tx.message, "\n" +rescue Thrift::Exception => tx + print 'Thrift::Exception: ', tx.message, "\n" end |