Class: BreezyPDF::Gzip::Stream

Inherits:
StringIO
  • Object
show all
Defined in:
lib/breezy_pdf/gzip.rb

Overview

:nodoc

Instance Method Summary collapse

Constructor Details

#initializeStream

Returns a new instance of Stream.



8
9
10
11
# File 'lib/breezy_pdf/gzip.rb', line 8

def initialize(*)
  super
  set_encoding "BINARY"
end

Instance Method Details

#closeObject



13
14
15
# File 'lib/breezy_pdf/gzip.rb', line 13

def close
  rewind
end