lib/jvertica.rb in jvertica-0.1.8 vs lib/jvertica.rb in jvertica-0.1.9

- old
+ new

@@ -138,11 +138,11 @@ ensure end else - if source.is_a? IO - stream.addStream org.jruby.util.IOInputStream.new(source) + if io.is_a? IO + stream.addStream org.jruby.util.IOInputStream.new(io) else raise InvalidObject.new("source must be a IO.") end end