We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e134b02 commit a62b50eCopy full SHA for a62b50e
src/main/ruby/core/io.rb
@@ -871,7 +871,7 @@ def self.popen(*args)
871
872
if readable and writable
873
pipe = pa_read
874
- pipe.set_pipe_info(pa_write)
+ pipe.instance_variable_set(:@write, pa_write)
875
elsif readable
876
877
elsif writable
@@ -2652,11 +2652,6 @@ def encode_with coder
2652
2653
class IO::BidirectionalPipe < IO
2654
2655
- def set_pipe_info(write)
2656
- @write = write
2657
- @sync = true
2658
- end
2659
-
2660
##
2661
# Closes ios and flushes any pending writes to the
2662
# operating system. The stream is unavailable for
0 commit comments