mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/mspec@f8b0618
This commit is contained in:
parent
69c5474e10
commit
acbe7aa197
1 changed files with 0 additions and 4 deletions
|
@ -85,7 +85,3 @@ def new_io(name, mode = "w:utf-8")
|
|||
File.new(name, mode)
|
||||
end
|
||||
end
|
||||
|
||||
def find_unused_fd
|
||||
Dir.entries("/dev/fd").map(&:to_i).max + 1
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue