aboutsummaryrefslogtreecommitdiffstats
path: root/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.c b/array.c
index 8d0098c0bc..d24f071d27 100644
--- a/array.c
+++ b/array.c
@@ -5665,7 +5665,7 @@ rb_ary_any_p(VALUE ary)
*
* a.dig(0, 1, 1) #=> 3
* a.dig(1, 2, 3) #=> nil
- * a.dig(0, 0, 0) #=> TypeError: Fixnum does not have #dig method
+ * a.dig(0, 0, 0) #=> TypeError: Integer does not have #dig method
* [42, {foo: :bar}].dig(1, :foo) #=> :bar
*/