about summary refs log tree commit homepage
path: root/lib/kgio.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kgio.rb')
-rw-r--r--lib/kgio.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/kgio.rb b/lib/kgio.rb
index 2b420b0..5de431b 100644
--- a/lib/kgio.rb
+++ b/lib/kgio.rb
@@ -16,22 +16,6 @@ module Kgio
   # PipeMethods#kgio_trywrite and SocketMethods#kgio_trywrite will return
   # :wait_writable when waiting for a read is required.
   WaitWritable = :wait_writable
-
-  # autopush is strongly not recommended nowadays, use MSG_MORE instead
-  @autopush = false
-
-  class << self
-    attr_reader :autopush # :nodoc:
-    def autopush? # :nodoc:
-      !!@autopush
-    end
-
-    def autopush=(bool) # :nodoc:
-      # No require_relative, we remain 1.8-compatible
-      require 'kgio/autopush'
-      @autopush = bool
-    end
-  end
 end
 
 require 'kgio_ext'