Sha256: 48cbe10ef240fcae478b29cfb10f0c99ea2fa4a1c41d5c33a1481b66d77e539b
Contents?: true
Size: 450 Bytes
Versions: 137
Compression:
Stored size: 450 Bytes
Contents
module ChildProcess module Unix class IO < AbstractIO private def check_type(io) unless io.respond_to? :to_io raise ArgumentError, "expected #{io.inspect} to respond to :to_io" end result = io.to_io unless result && result.kind_of?(::IO) raise TypeError, "expected IO, got #{result.inspect}:#{result.class}" end end end # IO end # Unix end # ChildProcess
Version data entries
137 entries across 121 versions & 19 rubygems