Sha256: 70db99f9ac7604968c58c331d59bddf4f40d15bec82a6a48a4d0b1de21e48122

Contents?: true

Size: 492 Bytes

Versions: 133

Compression:

Stored size: 492 Bytes

Contents

module ChildProcess
  class AbstractIO
    attr_reader :stderr, :stdout, :stdin

    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

    #
    # @api private
    #

    def _stdin=(io)
      check_type io
      @stdin = io
    end

    private

    def check_type(io)
      raise SubclassResponsibility, "check_type"
    end

  end
end

Version data entries

133 entries across 117 versions & 20 rubygems

Version Path
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/childprocess-3.0.0/lib/childprocess/abstract_io.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/2.7.0/gems/childprocess-3.0.0/lib/childprocess/abstract_io.rb
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/2.7.0/gems/childprocess-4.0.0/lib/childprocess/abstract_io.rb
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/3.0.0/gems/childprocess-4.0.0/lib/childprocess/abstract_io.rb
tdiary-5.1.5 vendor/bundle/ruby/2.7.0/gems/childprocess-3.0.0/lib/childprocess/abstract_io.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/childprocess-3.0.0/lib/childprocess/abstract_io.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/childprocess-3.0.0/lib/childprocess/abstract_io.rb
vagrant-unbundled-2.2.14.0 vendor/bundle/ruby/2.7.0/gems/childprocess-4.0.0/lib/childprocess/abstract_io.rb
tdiary-5.1.4 vendor/bundle/ruby/2.7.0/gems/childprocess-3.0.0/lib/childprocess/abstract_io.rb
vagrant-unbundled-2.2.10.0 vendor/bundle/ruby/2.7.0/gems/childprocess-4.0.0/lib/childprocess/abstract_io.rb
tdiary-5.1.3 vendor/bundle/ruby/2.6.0/gems/childprocess-3.0.0/lib/childprocess/abstract_io.rb
tdiary-5.1.3 vendor/bundle/ruby/2.7.0/gems/childprocess-3.0.0/lib/childprocess/abstract_io.rb
childprocess-4.0.0 lib/childprocess/abstract_io.rb
vagrant-unbundled-2.2.9.0 vendor/bundle/ruby/2.7.0/gems/childprocess-3.0.0/lib/childprocess/abstract_io.rb
tdiary-5.1.2 vendor/bundle/ruby/2.6.0/gems/childprocess-3.0.0/lib/childprocess/abstract_io.rb
tdiary-5.1.2 vendor/bundle/ruby/2.7.0/gems/childprocess-3.0.0/lib/childprocess/abstract_io.rb
vagrant-unbundled-2.2.8.0 vendor/bundle/ruby/2.7.0/gems/childprocess-3.0.0/lib/childprocess/abstract_io.rb
tdiary-5.1.1 vendor/bundle/ruby/2.7.0/gems/childprocess-3.0.0/lib/childprocess/abstract_io.rb
tdiary-5.1.1 vendor/bundle/ruby/2.6.0/gems/childprocess-3.0.0/lib/childprocess/abstract_io.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/childprocess-3.0.0/lib/childprocess/abstract_io.rb