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.
      19 20 21 22  | 
    
      # File 'activesupport/lib/active_support/gzip.rb', line 19 def initialize(*) super set_encoding "BINARY" end  | 
  
Instance Method Details
#close ⇒ Object
      23  | 
    
      # File 'activesupport/lib/active_support/gzip.rb', line 23 def close; rewind; end  |