diff options
Diffstat (limited to 'lib/dtas/compat_onenine.rb')
-rw-r--r-- | lib/dtas/compat_onenine.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dtas/compat_onenine.rb b/lib/dtas/compat_onenine.rb index 568491b..e789114 100644 --- a/lib/dtas/compat_onenine.rb +++ b/lib/dtas/compat_onenine.rb @@ -12,6 +12,6 @@ end unless String.method_defined?(:b) def IO # :nodoc: def self.pipe # :nodoc: - super.map! { |io| io.close_on_exec = true; io } + super.each { |io| io.close_on_exec = true } end end if RUBY_VERSION.to_f <= 1.9 |