Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IO.pipe will return subclass instances based on receiver.
Test Script: {{{ require 'test/unit/assertions.rb' include Test::Unit::Assertions class SubIO < IO; end r, w = SubIO.pipe assert_equal(SubIO, r.class) assert_equal(SubIO, w.class) puts :ok }}}
- Loading branch information