::Zlib::Deflate
A wrapper around the Zlib::Deflate class for easier JSON stream parsing
A helper method for one-off encoding to a deflate-compressed stream
Look up Yajl::Encoder#encode for parameter documentation
# File lib/yajl/deflate/stream_writer.rb, line 15 15: def self.encode(obj, io) 16: Yajl::Encoder.new.encode(obj, new(io)) 17: end
A helper method to allow use similar to IO#write
# File lib/yajl/deflate/stream_writer.rb, line 7 7: def write(str) 8: deflate(str) 9: str.size unless str.nil? 10: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.