Class: ActiveSupport::Gzip::Stream

Inherits:
StringIO
  • Object
show all
Defined in:
lib/active_support/gzip.rb

Instance Method Summary collapse

Constructor Details

#initializeStream

Returns a new instance of Stream.



19
20
21
22
# File 'lib/active_support/gzip.rb', line 19

def initialize(*)
  super
  set_encoding "BINARY"
end

Instance Method Details

#closeObject



23
# File 'lib/active_support/gzip.rb', line 23

def close; rewind; end