lib/rdf/raptor/ffi/v2/iostream.rb in rdf-raptor-2.2.0 vs lib/rdf/raptor/ffi/v2/iostream.rb in rdf-raptor-3.1.0

- old
+ new

@@ -21,10 +21,10 @@ # @param [V2::IOStreamHandler] handler # # @overload initialize(file) # @param [File, Tempfile] file # - def initialize(ptr_or_obj, options = {}) + def initialize(ptr_or_obj, **options) ptr = case ptr_or_obj when FFI::Pointer ptr_or_obj when V2::IOStreamHandler @handler = ptr_or_obj # prevents premature GC