Class: ActiveSupport::Gzip::Stream
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/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.
17 18 19 20 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/gzip.rb', line 17 def initialize(*) super set_encoding "BINARY" end |
Instance Method Details
#close ⇒ Object
21 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/gzip.rb', line 21 def close; rewind; end |