Sha256: 19184666f36048c6743feb4399568c2db0ac9d73d388305cc0400f7d4b3984be

Contents?: true

Size: 540 Bytes

Versions: 12

Compression:

Stored size: 540 Bytes

Contents

# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2018-2023, by Samuel Williams.

require_relative 'generic'

module Async
	module IO
		class StandardInput < Generic
			def initialize(io = $stdin)
				super(io)
			end
		end
		
		class StandardOutput < Generic
			def initialize(io = $stdout)
				super(io)
			end
		end
		
		class StandardError < Generic
			def initialize(io = $stderr)
				super(io)
			end
		end
		
		STDIN = StandardInput.new
		STDOUT = StandardOutput.new
		STDERR = StandardError.new
	end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
async-io-1.43.2 lib/async/io/standard.rb
async-io-1.43.1 lib/async/io/standard.rb
async-io-1.43.0 lib/async/io/standard.rb
async-io-1.42.1 lib/async/io/standard.rb
async-io-1.42.0 lib/async/io/standard.rb
async-io-1.41.0 lib/async/io/standard.rb
async-io-1.39.0 lib/async/io/standard.rb
async-io-1.38.1 lib/async/io/standard.rb
async-io-1.38.0 lib/async/io/standard.rb
async-io-1.37.0 lib/async/io/standard.rb
async-io-1.36.1 lib/async/io/standard.rb
async-io-1.36.0 lib/async/io/standard.rb