aboutsummaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
authorEric Schneider <54514192+eric-unc@users.noreply.github.com>2020-12-29 23:37:04 -0500
committerMarc-André Lafortune <github@marc-andre.ca>2020-12-30 01:25:00 -0500
commit11b8bb99e6722253974c73d96ed653f97495e1c5 (patch)
treed306e8f3f244eff4e60584cd851517564a20140a /string.c
parent15c129d08790878444f3ecbdef0f8fe15eed06f4 (diff)
downloadruby-11b8bb99e6722253974c73d96ed653f97495e1c5.tar.gz
Minor grammar fix in String#chomp documentation
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index 4e1e81a4c4..8c5bc3eef1 100644
--- a/string.c
+++ b/string.c
@@ -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.
*