diff options
author | Burdette Lamar <BurdetteLamar@Yahoo.com> | 2021-12-03 07:12:28 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-03 07:12:28 -0600 |
commit | 28fb6d6b9e06a632f96244a635a045622a6be276 (patch) | |
tree | 1c96616dc764d2b67c83fe9443b7f5ae1f8c9ea8 /complex.c | |
parent | 324d57df0b28982590609d7ae080f82074a82a5c (diff) |
Adding links to literals and Kernel (#5192)
* Adding links to literals and Kernel
Notes
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
Diffstat (limited to 'complex.c')
-rw-r--r-- | complex.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -2267,6 +2267,14 @@ float_arg(VALUE self) * and i is imaginary unit. Real a equals complex a+0i * mathematically. * + * You can create a \Complex object explicitly with: + * + * - A {complex literal}[doc/syntax/literals_rdoc.html#label-Complex+Literals]. + * + * You can convert certain objects to \Complex objects with: + * + * - \Method {Complex}[Kernel.html#method-i-Complex]. + * * Complex object can be created as literal, and also by using * Kernel#Complex, Complex::rect, Complex::polar or to_c method. * |