Typo fix: io.is_a() -> io.is_a?()

This commit is contained in:
Nick Markwell 2013-09-06 12:20:06 -04:00
parent 9f6bc1e2e9
commit d7091a0271
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ module Zip
raise "Zip::ZipFile.open_buffer expects an argument of class String or IO. Found: #{io.class}"
end
zf = ::Zip::File.new('', true, true)
if io.is_a(::String)
if io.is_a?(::String)
require 'stringio'
io = ::StringIO.new(io)
end