Project

General

Profile

Actions

Bug #18920

closed

Documentation on ARGF.inplace_mode and ARGF.inplace_mode= is wrong

Added by JohanJosefsson (Johan Josefsson) almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:109231]

Description

The file extension is appended to a copy of the original file and not to the modified file.

Cf. man page for ruby.

Actions #1

Updated by jeremyevans (Jeremy Evans) almost 2 years ago

  • Status changed from Open to Closed

Applied in changeset git|4ad69899b7db1e384665dec090d5cdc0c3b3c9b2.


Fix documentation for ARGF.inplace_mode{,=}

The value affects the name of the backup file created, not the
name of the file modified (as the file is modified in place).

Fixes [Bug #18920]

Actions

Also available in: Atom PDF

Like0
Like0