Project

General

Profile

Actions

Bug #18920

closed

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

Bug #18920: Documentation on ARGF.inplace_mode and ARGF.inplace_mode= is wrong

Added by JohanJosefsson (Johan Josefsson) over 3 years ago. Updated about 3 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.

Updated by jeremyevans (Jeremy Evans) about 3 years ago Actions #1

  • 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: PDF Atom