Class: ActiveSupport::Gzip::Stream
- Defined in:
- activesupport/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.
15 16 17 18 |
# File 'activesupport/lib/active_support/gzip.rb', line 15 def initialize(*) super set_encoding "BINARY" end |
Instance Method Details
#close ⇒ Object
19 |
# File 'activesupport/lib/active_support/gzip.rb', line 19 def close; rewind; end |