ActiveSupport::Gzip::Stream Ruby on Rails 5.1.2 Class ActiveSupport::Gzip::Stream < StringIO activesupport/lib/active_support/gzip.rb Methods C close N new Class Public methods new(*) Link Source: show | on GitHub # File activesupport/lib/active_support/gzip.rb, line 15 def initialize(*) super set_encoding "BINARY" end Instance Public methods close() Link Source: show | on GitHub # File activesupport/lib/active_support/gzip.rb, line 19 def close; rewind; end