Module: Zip::IOExtras::FakeIO

Included in:
AbstractInputStream, AbstractOutputStream
Defined in:
lib/zip/ioextras.rb

Overview

Implements kind_of? in order to pretend to be an IO object

Instance Method Summary collapse

Instance Method Details

#kind_of?(object) ⇒ Boolean


24
25
26
# File 'lib/zip/ioextras.rb', line 24

def kind_of?(object)
  object == IO || super
end