Removes common margin from indented strings such as the ones produced by heredocs, i.e., strips out leading whitespace chars at the beggining of each line (but only as much as the line with the smallest margin).

Required Ruby Version

None

Authors

Adriano Mitre

Versions

  1. 1.2.0 April 15, 2015 (10 KB)
  2. 1.1.2 February 07, 2011 (11.5 KB)
  3. 1.1.1 January 29, 2011 (11.5 KB)
  4. 1.1.0 January 29, 2011 (11.5 KB)
  5. 1.0.6 January 27, 2011 (10.5 KB)
  6. 1.0.0 January 17, 2011 (6 KB)
Show all versions (11 total)

SHA 256 checksum