Class: Riak::Client::HTTPBackend::KeyStreamer
- Includes:
- Util::Escape
- Defined in:
- lib/riak/client/http_backend/key_streamer.rb
Instance Method Summary collapse
- #accept(chunk) ⇒ Object
-
#initialize(block) ⇒ KeyStreamer
constructor
A new instance of KeyStreamer.
- #to_proc ⇒ Object
Methods included from Util::Escape
#escape, #maybe_escape, #maybe_unescape, #unescape
Constructor Details
#initialize(block) ⇒ KeyStreamer
Returns a new instance of KeyStreamer.
11 12 13 14 |
# File 'lib/riak/client/http_backend/key_streamer.rb', line 11 def initialize(block) @buffer = "" @block = block end |