diff options
-rw-r--r-- | array.c | 2 | ||||
-rw-r--r-- | complex.c | 2 | ||||
-rw-r--r-- | hash.c | 2 | ||||
-rw-r--r-- | numeric.c | 4 | ||||
-rw-r--r-- | rational.c | 2 | ||||
-rw-r--r-- | string.c | 2 |
6 files changed, 7 insertions, 7 deletions
@@ -7849,7 +7849,7 @@ rb_ary_deconstruct(VALUE ary) * * You can convert certain objects to Arrays with: * - * - \Method {Array}[Kernel.html#method-i-Array]. + * - \Method #Array. * * An \Array can contain different types of objects. For * example, the array below contains an Integer, a String and a Float: @@ -2273,7 +2273,7 @@ float_arg(VALUE self) * * You can convert certain objects to \Complex objects with: * - * - \Method {Complex}[Kernel.html#method-i-Complex]. + * - \Method #Complex. * * Complex object can be created as literal, and also by using * Kernel#Complex, Complex::rect, Complex::polar or to_c method. @@ -6750,7 +6750,7 @@ static const rb_data_type_t env_data_type = { * * You can convert certain objects to Hashes with: * - * - \Method {Hash}[Kernel.html#method-i-Hash]. + * - \Method #Hash. * * You can create a \Hash by calling method Hash.new. * @@ -952,7 +952,7 @@ num_negative_p(VALUE num) * * You can convert certain objects to Floats with: * - * - \Method {Float}[Kernel.html#method-i-Float]. + * - \Method #Float. * * == What's Here * @@ -3486,7 +3486,7 @@ rb_num2ull(VALUE val) * * You can convert certain objects to Integers with: * - * - \Method {Integer}[Kernel.html#method-i-Integer]. + * - \Method #Integer. * * An attempt to add a singleton method to an instance of this class * causes an exception to be raised. diff --git a/rational.c b/rational.c index 7817bdbcef..6d013c57c9 100644 --- a/rational.c +++ b/rational.c @@ -2721,7 +2721,7 @@ nurat_s_convert(int argc, VALUE *argv, VALUE klass) * * You can convert certain objects to Rationals with: * - * - \Method {Rational}[Kernel.html#method-i-Rational]. + * - \Method #Rational. * * Examples * @@ -11965,7 +11965,7 @@ rb_enc_interned_str_cstr(const char *ptr, rb_encoding *enc) * * You can convert certain objects to Strings with: * - * - \Method {String}[Kernel.html#method-i-String]. + * - \Method #String. * * Some \String methods modify +self+. * Typically, a method whose name ends with <tt>!</tt> modifies +self+ |