RubyGems Navigation menu

file_overwrite 1.0

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:
=

installation:
=

Versions:

  1. 1.0 October 13, 2018 (24 ko)
  2. 0.1 September 18, 2018 (20,5 ko)

Propriétaires:

Auteurs:

  • Masa Sakano

Total de contrôle SHA 256:

=

Total de téléchargements 3 870

Pour cette version 2 175

Version publiée:

License:

MIT

Version de Ruby requise: >= 2.0

Liens: