ruby-changes:64672
From: Eric <ko1@a...>
Date: Wed, 30 Dec 2020 15:25:23 +0900 (JST)
Subject: [ruby-changes:64672] 11b8bb99e6 (master): Minor grammar fix in String#chomp documentation
https://git.ruby-lang.org/ruby.git/commit/?id=11b8bb99e6 From 11b8bb99e6722253974c73d96ed653f97495e1c5 Mon Sep 17 00:00:00 2001 From: Eric Schneider <54514192+eric-unc@u...> Date: Tue, 29 Dec 2020 23:37:04 -0500 Subject: Minor grammar fix in String#chomp documentation diff --git a/string.c b/string.c index 4e1e81a..8c5bc3e 100644 --- a/string.c +++ b/string.c @@ -9232,7 +9232,7 @@ rb_str_chomp_bang(int argc, VALUE *argv, VALUE str) https://github.com/ruby/ruby/blob/trunk/string.c#L9232 * 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. * -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/