lib/io/splice.rb in io_splice-0.1.0 vs lib/io/splice.rb in io_splice-1.0.0

- old
+ new

@@ -1,13 +1,13 @@ # -*- encoding: binary -*- require 'io_splice_ext' class IO - class Splice + module Splice # the version of IO::Splice, currently 0.1.0 - VERSION = '0.1.0' + VERSION = '1.0.0' # The maximum capacity of the pipe in bytes. # Under stock Linux, this is 65536 bytes as of 2.6.11, and 4096 before # We detect this at runtime as it is easy to recompile the kernel # and set a new value.