Class: ActiveSupport::Gzip::Stream

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

Instance Method Summary (collapse)

Constructor Details

- (Stream) initialize

Returns a new instance of Stream



15
16
17
18
# File 'activesupport/lib/active_support/gzip.rb', line 15

def initialize(*)
  super
  set_encoding "BINARY"
end

Instance Method Details

- (Object) close



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

def close; rewind; end