Feature #20261
Updated by burdettelamar (Burdette Lamar) 9 months ago
[Feature 20261] For IO's line-oriented read methods, there are two special values for the line-separator argument `sep`; I'm proposing to add (user-friendlier) symbol synonyms for those values:
- `:paragraph` as synonym for `''` (read paragraphs).
- `:slurp` as synonym for `nil` (read all).
Details (code, documentation, tests) may be seen at https://github.com/ruby/ruby/pull/9921.