diff options
author | Eric Schneider <[email protected]> | 2020-12-29 23:37:04 -0500 |
---|---|---|
committer | Marc-André Lafortune <[email protected]> | 2020-12-30 01:25:00 -0500 |
commit | 11b8bb99e6722253974c73d96ed653f97495e1c5 (patch) | |
tree | d306e8f3f244eff4e60584cd851517564a20140a /string.c | |
parent | 15c129d08790878444f3ecbdef0f8fe15eed06f4 (diff) |
Minor grammar fix in String#chomp documentation
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4013
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9232,7 +9232,7 @@ rb_str_chomp_bang(int argc, VALUE *argv, VALUE str) * Returns a new String with the given record separator removed * from the end of <i>str</i> (if present). If <code>$/</code> has not been * changed from the default Ruby record separator, then <code>chomp</code> also - * removes carriage return characters (that is it will remove <code>\n</code>, + * removes carriage return characters (that is, it will remove <code>\n</code>, * <code>\r</code>, and <code>\r\n</code>). If <code>$/</code> is an empty string, * it will remove all trailing newlines from the string. * |