1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[DIC] Fix typo in documentation

This commit is contained in:
Kouhei Yanagita 2022-05-27 20:18:54 +09:00 committed by GitHub
parent 6778d321a7
commit 8b4d2a5014
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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>

View file

@ -667,9 +667,9 @@ num_div(VALUE x, VALUE y)
*
* For \Rational +r+ and real number +n+, these expressions are equivalent:
*
* c % n
* c-n*(c/n).floor
* c.divmod(n)[1]
* r % n
* r-n*(r/n).floor
* r.divmod(n)[1]
*
* See Numeric#divmod.
*