[DOC] Rationalize aliases in What's Here
This commit is contained in:
parent
22f12b0a62
commit
ccd35eaecf
Notes:
git
2024-09-10 18:00:19 +00:00
8
struct.c
8
struct.c
@ -2131,7 +2131,7 @@ rb_data_inspect(VALUE s)
|
|||||||
* === Methods for Querying
|
* === Methods for Querying
|
||||||
*
|
*
|
||||||
* - #hash: Returns the integer hash code.
|
* - #hash: Returns the integer hash code.
|
||||||
* - #length, #size: Returns the number of members.
|
* - #size (aliased as #length): Returns the number of members.
|
||||||
*
|
*
|
||||||
* === Methods for Comparing
|
* === Methods for Comparing
|
||||||
*
|
*
|
||||||
@ -2143,13 +2143,13 @@ rb_data_inspect(VALUE s)
|
|||||||
* === Methods for Fetching
|
* === Methods for Fetching
|
||||||
*
|
*
|
||||||
* - #[]: Returns the value associated with a given member name.
|
* - #[]: Returns the value associated with a given member name.
|
||||||
* - #to_a, #values, #deconstruct: Returns the member values in +self+ as an array.
|
* - #to_a (aliased as #values, #deconstruct): Returns the member values in +self+ as an array.
|
||||||
* - #deconstruct_keys: Returns a hash of the name/value pairs
|
* - #deconstruct_keys: Returns a hash of the name/value pairs
|
||||||
* for given member names.
|
* for given member names.
|
||||||
* - #dig: Returns the object in nested objects that is specified
|
* - #dig: Returns the object in nested objects that is specified
|
||||||
* by a given member name and additional arguments.
|
* by a given member name and additional arguments.
|
||||||
* - #members: Returns an array of the member names.
|
* - #members: Returns an array of the member names.
|
||||||
* - #select, #filter: Returns an array of member values from +self+,
|
* - #select (aliased as #filter): Returns an array of member values from +self+,
|
||||||
* as selected by the given block.
|
* as selected by the given block.
|
||||||
* - #values_at: Returns an array containing values for given member names.
|
* - #values_at: Returns an array containing values for given member names.
|
||||||
*
|
*
|
||||||
@ -2164,7 +2164,7 @@ rb_data_inspect(VALUE s)
|
|||||||
*
|
*
|
||||||
* === Methods for Converting
|
* === Methods for Converting
|
||||||
*
|
*
|
||||||
* - #inspect, #to_s: Returns a string representation of +self+.
|
* - #inspect (aliased as #to_s): Returns a string representation of +self+.
|
||||||
* - #to_h: Returns a hash of the member name/value pairs in +self+.
|
* - #to_h: Returns a hash of the member name/value pairs in +self+.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user