Redis::Parser
Inherits Struct < Value < Object
Constructors
Instance methods
read
Read a Redis::Value from the parser's IO
Example:
io = IO::Memory.new
io << "$3\r\n"
io << "foo\r\n"
io.rewind
Parser.new(io).read # => "foo"
Inherits Struct < Value < Object
Read a Redis::Value from the parser's IO
Example:
io = IO::Memory.new
io << "$3\r\n"
io << "foo\r\n"
io.rewind
Parser.new(io).read # => "foo"