Module: Redis::ConnectionHacks
- Included in:
- Connection, Redis::Connection::Ruby
- Defined in:
- lib/daikon/redis_hacks.rb
Instance Method Summary collapse
Instance Method Details
#read_with_old_protocol ⇒ Object
37 38 39 40 41 |
# File 'lib/daikon/redis_hacks.rb', line 37 def read_with_old_protocol reply_type = @sock.gets raise Errno::ECONNRESET unless reply_type reply_type end |