class EventMachine::Twitter::GzipDecoder

Public Instance Methods

decode(str) click to toggle source
# File lib/em-twitter/decoders/gzip_decoder.rb, line 8
def decode(str)
  Zlib::GzipReader.new(StringIO.new(str.to_s)).read
end