зеркало из https://github.com/github/ruby.git
[DOC] Simplify links to global methods
This commit is contained in:
Родитель
f53f49197f
Коммит
bc5662d9d8
2
array.c
2
array.c
|
@ -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.
|
||||
|
|
2
hash.c
2
hash.c
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
2
string.c
2
string.c
|
@ -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+
|
||||
|
|
Загрузка…
Ссылка в новой задаче