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:
= Copy to clipboard Copied!

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:

6f75ec7b94c0ba9886ff8a22411ba80f7c4b1652b6ca6ce12afcf6d1f4619020

Total downloads 649

For this version 279

License:

MIT

Required Ruby Version: >= 2.6.0

Links: