Module: IOExtras::FakeIO
- Included in:
- AbstractInputStream, AbstractOutputStream
- Defined in:
- lib/ruby_archive/handlers/rubyzip/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
25 26 27 |
# File 'lib/ruby_archive/handlers/rubyzip/zip/ioextras.rb', line 25 def kind_of?(object) object == IO || super end |