Module: IOExtras::FakeIO

Included in:
AbstractInputStream, AbstractOutputStream
Defined in:
lib/amp/dependencies/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

Returns:



15
16
17
# File 'lib/amp/dependencies/zip/ioextras.rb', line 15

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