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