Module: Bindery::Extensions::ZipStreamableStreamExtensions

Defined in:
lib/bindery/extensions/zip_file.rb

Instance Method Summary collapse

Instance Method Details

#kind_of?(thing) ⇒ Boolean

Returns:

  • (Boolean)


18
19
20
21
22
# File 'lib/bindery/extensions/zip_file.rb', line 18

def kind_of?(thing)
  # ZipStreamableStream is a ZipEntry, but through delegation, not inheritance.
  return true if thing == ::Zip::ZipEntry
  super
end