lib/io/splice.rb in io_splice-4.3.0 vs lib/io/splice.rb in io_splice-4.4.0

- old
+ new

@@ -3,10 +3,10 @@ require 'io/wait' module IO::Splice @warned = false - def self.__deprecated + def self.__deprecated # :nodoc: return if @warned warn("IO::Splice.{copy_stream,full} are deprecated " \ "and to be removed in io_splice 5.x") @warned = true end