[DIC] Fix typo in documentation
This commit is contained in:
parent
6778d321a7
commit
8b4d2a5014
Notes:
git
2022-05-27 20:19:26 +09:00
Merged: https://github.com/ruby/ruby/pull/5962 Merged-By: nobu <nobu@ruby-lang.org>
@ -667,9 +667,9 @@ num_div(VALUE x, VALUE y)
|
|||||||
*
|
*
|
||||||
* For \Rational +r+ and real number +n+, these expressions are equivalent:
|
* For \Rational +r+ and real number +n+, these expressions are equivalent:
|
||||||
*
|
*
|
||||||
* c % n
|
* r % n
|
||||||
* c-n*(c/n).floor
|
* r-n*(r/n).floor
|
||||||
* c.divmod(n)[1]
|
* r.divmod(n)[1]
|
||||||
*
|
*
|
||||||
* See Numeric#divmod.
|
* See Numeric#divmod.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user