Skip to content

Commit d8b43d2

Browse files
committed
Remove documentation which does not match the implementation
* Also, such a property does not belong there but rather in the IO constructor.
1 parent a62b50e commit d8b43d2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/ruby/core/io.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2656,9 +2656,7 @@ class IO::BidirectionalPipe < IO
26562656
# Closes ios and flushes any pending writes to the
26572657
# operating system. The stream is unavailable for
26582658
# any further data operations; an IOError is raised
2659-
# if such an attempt is made. I/O streams are
2660-
# automatically closed when they are claimed by
2661-
# the garbage collector.
2659+
# if such an attempt is made.
26622660
#
26632661
# If ios is opened by IO.popen, close sets $?.
26642662
def close

0 commit comments

Comments
 (0)