ruby / stringio

Pseudo `IO` class from/to `String`.
BSD 2-Clause "Simplified" License
33 stars 26 forks source link

Fix handling of chomp with paragraph separator #29

Closed jeremyevans closed 2 years ago

jeremyevans commented 2 years ago

Try to mirror IO behavior, where chomp takes out the entire paragraph separators between entries, but does not chomp a single line separator at the end of the string.

Partially Fixes [Bug #18768]