From 773bfa23614aa483e590d635d732cc523fc38f37 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 23 Jan 2022 21:16:02 +0000 Subject: get rid of DTAS::Nonblock wrapper for Ruby <= 2.0 We require 2.3+, nowadays, so jettison a bunch of code. --- lib/dtas/pipe.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/dtas/pipe.rb') diff --git a/lib/dtas/pipe.rb b/lib/dtas/pipe.rb index 34d50bd..a7b02b0 100644 --- a/lib/dtas/pipe.rb +++ b/lib/dtas/pipe.rb @@ -1,12 +1,11 @@ -# Copyright (C) 2013-2020 all contributors +# Copyright (C) all contributors # License: GPL-3.0+ # frozen_string_literal: true require_relative '../dtas' require_relative 'writable_iter' -require_relative 'nonblock' # pipe wrapper for -player sinks -class DTAS::Pipe < DTAS::Nonblock # :nodoc: +class DTAS::Pipe < IO # :nodoc: include DTAS::WritableIter attr_accessor :sink -- cgit v1.2.3-24-ge0c7