RubyGems Navigation menu

insert_after 0.3.0

Inserts a line into a file after a line matching a regular expression. String comparisons are case-insensitive. Works on very large files because it reads the file line by line instead of reading the entire file into memory. Can be used on the command line or in a Ruby program.

Gemfile:
=

install:
=

Versions:

  1. 0.3.0 November 10, 2023 (7 KB)
  2. 0.2.0 November 10, 2023 (7 KB)
  3. 0.1.0 November 10, 2023 (7 KB)

Owners:

Pushed by:

Authors:

  • Mike Slinn

SHA 256 checksum:

=

Total downloads 937

For this version 397

Version Released:

License:

MIT

Required Ruby Version: >= 2.6.0

Links: