summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
authorJohn Bampton <jbampton@users.noreply.github.com>2023-02-28 03:56:06 +1000
committerGitHub <noreply@github.com>2023-02-27 09:56:06 -0800
commit2f7270c68150d9f49b48c8ff995f4f343d216cee (patch)
treed3610c4a0980667982cdd4952572ba1a7d583046 /object.c
parent526111290b2e01e798f436dfe4acc3bf10c6bbd1 (diff)
downloadruby-2f7270c68150d9f49b48c8ff995f4f343d216cee.tar.gz
Fix spelling (#7389)
Diffstat (limited to 'object.c')
-rw-r--r--object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/object.c b/object.c
index 3e38c04e1a..8041c192ce 100644
--- a/object.c
+++ b/object.c
@@ -3237,7 +3237,7 @@ rb_opts_exception_p(VALUE opts, int default_value)
* Integer(-1) # => -1
*
* With floating-point argument +object+ given,
- * returns +object+ truncated to an intger:
+ * returns +object+ truncated to an integer:
*
* Integer(1.9) # => 1 # Rounds toward zero.
* Integer(-1.9) # => -1 # Rounds toward zero.