Class: ActiveSupport::Gzip::Stream
- Defined in:
- lib/active_support/gzip.rb
Instance Method Summary collapse
- #close ⇒ Object
-
#initialize ⇒ Stream
constructor
A new instance of Stream.
Constructor Details
#initialize ⇒ Stream
Returns a new instance of Stream.
8 9 10 11 |
# File 'lib/active_support/gzip.rb', line 8 def initialize(*) super set_encoding "BINARY" if "".encoding_aware? end |
Instance Method Details
#close ⇒ Object
12 |
# File 'lib/active_support/gzip.rb', line 12 def close; rewind; end |