mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update rdoc of Integer#modulo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a0ab5a325b
commit
77a99fd4d5
1 changed files with 4 additions and 3 deletions
|
@ -3506,12 +3506,13 @@ rb_int_idiv(VALUE x, VALUE y)
|
|||
|
||||
/*
|
||||
* Document-method: Fixnum#%
|
||||
* Document-method: Integer#%
|
||||
* Document-method: Integer#modulo
|
||||
* call-seq:
|
||||
* fix % other -> real
|
||||
* fix.modulo(other) -> real
|
||||
* int % other -> real
|
||||
* int.modulo(other) -> real
|
||||
*
|
||||
* Returns +fix+ modulo +other+.
|
||||
* Returns +int+ modulo +other+.
|
||||
*
|
||||
* See Numeric#divmod for more information.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue