Adding links to literals and Kernel (#5192)

* Adding links to literals and Kernel
This commit is contained in:
Burdette Lamar 2021-12-03 07:12:28 -06:00 committed by GitHub
parent 324d57df0b
commit 28fb6d6b9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2021-12-03 22:13:00 +09:00
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
10 changed files with 101 additions and 57 deletions

View file

@ -948,8 +948,11 @@ num_negative_p(VALUE num)
*
* You can create a \Float object explicitly with:
*
* - Global method {Float}[Kernel.html#method-i-Float].
* - A {floating-point literal}[doc/syntax/literals_rdoc.html#label-Floating-Point+Literals].
* - A {floating-point literal}[doc/syntax/literals_rdoc.html#label-Float+Literals].
*
* You can convert certain objects to Floats with:
*
* - \Method {Float}[Kernel.html#method-i-Float].
*
* == What's Here
*
@ -3479,9 +3482,12 @@ rb_num2ull(VALUE val)
*
* You can create an \Integer object explicitly with:
*
* - Global method {Integer}[Kernel.html#method-i-Integer].
* - An {integer literal}[doc/syntax/literals_rdoc.html#label-Integer+Literals].
*
* You can convert certain objects to Integers with:
*
* - \Method {Integer}[Kernel.html#method-i-Integer].
*
* An attempt to add a singleton method to an instance of this class
* causes an exception to be raised.
*