Categories: None [Edit]

file_overwrite

https://rubygems.org/gems/file_overwrite
This class provides a Ruby-oriented scheme to safely overwrite an existing file, leaving a backup file unless specified otherwise. It writes a temporary file first, which is renamed to the original file in one action. It accepts a block like some IO class-methods (e.g., each_line) and chaining like String methods (e.g., sub and gsub).

Total

Ranking: 141,910 of 186,911
Downloads: 3,951

Daily

Ranking: 153,862 of 186,896
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconMasaSakano