Sha256: efe9270e2439f0c01666dabe219ebeda9a2dc5a7d36ab5a022817f6c2aa71239
Contents?: true
Size: 396 Bytes
Versions: 12
Compression:
Stored size: 396 Bytes
Contents
# frozen_string_literal: true # Released under the MIT License. # Copyright, 2018-2023, by Samuel Williams. require_relative '../stream' module Async module IO module Protocol class Generic def initialize(stream) @stream = stream end def closed? @stream.closed? end def close @stream.close end attr :stream end end end end
Version data entries
12 entries across 12 versions & 1 rubygems