From: Eric Wong Date: 2017-12-27T08:05:36+00:00 Subject: [ruby-core:84494] Re: [Ruby trunk Bug#14239] warn open("|...") shugo@ruby-lang.org wrote: > How about to add File.read etc. (similar to File.open) in 2.6? > Code like `File.read(filename)` is considered to have no intention to open pipes. I like that idea, I've been rewriting some stuff to use "File.open(filename, &:read)" instead of IO.read. Now, can we implement these new singleton methods in prelude.rb instead of writing in C? :) Unsubscribe: