Exception: Origami::Filter::InvalidFlateDataError

Inherits:
Exception
  • Object
show all
Defined in:
lib/origami/filters/flate.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(zlib_stream, zlib_except) ⇒ InvalidFlateDataError

Returns a new instance of InvalidFlateDataError.



36
37
38
39
40
41
# File 'lib/origami/filters/flate.rb', line 36

def initialize(zlib_stream, zlib_except)
  super(zlib_except.message)

  @zlib_stream = zlib_stream
  @zlib_except = zlib_except
end

Instance Attribute Details

#zlib_exceptObject (readonly)

Returns the value of attribute zlib_except.



34
35
36
# File 'lib/origami/filters/flate.rb', line 34

def zlib_except
  @zlib_except
end

#zlib_streamObject (readonly)

Returns the value of attribute zlib_stream.



34
35
36
# File 'lib/origami/filters/flate.rb', line 34

def zlib_stream
  @zlib_stream
end