Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
97592b4
)
THRIFT-277. rb: Abstract Transport in Ruby #read method should throw NotImplementedEx...
author
Bryan Duxbury
<bryanduxbury@apache.org>
Wed, 18 Mar 2009 02:40:54 +0000
(
02:40
+0000)
committer
Bryan Duxbury
<bryanduxbury@apache.org>
Wed, 18 Mar 2009 02:40:54 +0000
(
02:40
+0000)
The name says it all.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@755460
13f79535
-47bb-0310-9956-
ffa450edef68
lib/rb/lib/thrift/transport.rb
patch
|
blob
|
history
diff --git
a/lib/rb/lib/thrift/transport.rb
b/lib/rb/lib/thrift/transport.rb
index
abb4b1e
..
e3a6511
100644
(file)
--- a/
lib/rb/lib/thrift/transport.rb
+++ b/
lib/rb/lib/thrift/transport.rb
@@
-35,7
+35,9
@@
module Thrift
def close; end
- def read(sz); end
+ def read(sz)
+ raise NotImplementedError
+ end
def read_all(size)
buf = ''