diff options
author | Eric Wong <e@80x24.org> | 2022-01-23 21:16:02 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2022-01-23 21:16:47 +0000 |
commit | 773bfa23614aa483e590d635d732cc523fc38f37 (patch) | |
tree | 0f6b5c5b574b2b64648027521f05e15cb9c72734 /lib/dtas/pipe.rb | |
parent | eab2f44b4d02ee5e468a41d50275b6506adf83d6 (diff) | |
download | dtas-773bfa23614aa483e590d635d732cc523fc38f37.tar.gz |
get rid of DTAS::Nonblock wrapper for Ruby <= 2.0
We require 2.3+, nowadays, so jettison a bunch of code.
Diffstat (limited to 'lib/dtas/pipe.rb')
-rw-r--r-- | lib/dtas/pipe.rb | 5 |
1 files changed, 2 insertions, 3 deletions
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 <dtas-all@nongnu.org> +# Copyright (C) all contributors <dtas-all@nongnu.org> # License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt> # 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 |