summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2024-01-01 11:14:42 -0500
committerPeter Zhu <[email protected]>2024-01-01 11:14:42 -0500
commit6934a60ab1d68ff89e0088a951a4c205f3c60332 (patch)
treebeef26f5faab7341af8ccd0ecd7d9c5c6715293e /numeric.c
parentc0481e5818c9f01116607d658a9b9acbd4ab0c00 (diff)
[DOC] Fix alignment of values for Integer#div
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/numeric.c b/numeric.c
index 8ef6ce0502..53a4450d70 100644
--- a/numeric.c
+++ b/numeric.c
@@ -4242,12 +4242,12 @@ fix_idiv(VALUE x, VALUE y)
* Performs integer division; returns the integer result of dividing +self+
* by +numeric+:
*
- * 4.div(3) # => 1
- * 4.div(-3) # => -2
- * -4.div(3) # => -2
- * -4.div(-3) # => 1
- * 4.div(3.0) # => 1
- * 4.div(Rational(3, 1)) # => 1
+ * 4.div(3) # => 1
+ * 4.div(-3) # => -2
+ * -4.div(3) # => -2
+ * -4.div(-3) # => 1
+ * 4.div(3.0) # => 1
+ * 4.div(Rational(3, 1)) # => 1
*
* Raises an exception if +numeric+ does not have method +div+.
*