Class: ActiveSupport::Gzip::Stream

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

Instance Method Summary collapse

Constructor Details

#initializeStream

Returns a new instance of Stream.



17
18
19
20
# File 'activesupport/lib/active_support/gzip.rb', line 17

def initialize(*)
  super
  set_encoding "BINARY"
end

Instance Method Details

#closeObject



21
# File 'activesupport/lib/active_support/gzip.rb', line 21

def close; rewind; end