summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
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.