RubyGems Navigation menu

file_overwrite 0.1

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).

Gemfile:
=

安裝:
=

版本列表:

  1. 1.0 October 13, 2018 (24.0 KB)
  2. 0.1 September 18, 2018 (20.5 KB)

擁有者:

作者:

  • Masa Sakano

SHA 256 總和檢查碼:

=

總下載次數 3,870

這個版本 1,695

版本发布:

授權:

MIT

Ruby 版本需求: >= 2.0

相關連結: