diff options
author | Peter Zhu <[email protected]> | 2024-01-01 11:14:42 -0500 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2024-01-01 11:14:42 -0500 |
commit | 6934a60ab1d68ff89e0088a951a4c205f3c60332 (patch) | |
tree | beef26f5faab7341af8ccd0ecd7d9c5c6715293e /numeric.c | |
parent | c0481e5818c9f01116607d658a9b9acbd4ab0c00 (diff) |
[DOC] Fix alignment of values for Integer#div
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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+. * |