RubyGems Navigation menu

insert_after 0.1.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:

1944aa3c02665fdb6c559803e62fc9853c19059302f4cb986fffc8275fc53e43

Total downloads 674

For this version 193

License:

MIT

Required Ruby Version: >= 2.6.0

Links: