Sha256: e498d67415b0ee706543a6379e4fddafa0d1e0b398997cff82da2e978139215f
Contents?: true
Size: 385 Bytes
Versions: 4
Compression:
Stored size: 385 Bytes
Contents
module ChildProcess class AbstractIO attr_reader :stderr, :stdout def inherit! @stdout = STDOUT @stderr = STDERR end def stderr=(io) check_type io @stderr = io end def stdout=(io) check_type io @stdout = io end private def check_type(io) raise SubclassResponsibility, "check_type" end end end
Version data entries
4 entries across 4 versions & 1 rubygems