diff options
author | Burdette Lamar <BurdetteLamar@Yahoo.com> | 2022-03-30 13:46:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-30 13:46:24 -0500 |
commit | ffcdbedbfb7fc37564ea046d381954eb53eaf6f9 (patch) | |
tree | c0593a442c41e546eb2e813be51653a29273c93e /range.c | |
parent | 79b59fee16b33527eba348b63c9233d58e396c8c (diff) |
Repaired What's Here sections for Range, String, Symbol, Struct (#5735)
Repaired What's Here sections for Range, String, Symbol, Struct.
Notes
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
Diffstat (limited to 'range.c')
-rw-r--r-- | range.c | 52 |
1 files changed, 26 insertions, 26 deletions
@@ -2224,44 +2224,44 @@ range_count(int argc, VALUE *argv, VALUE range) * * === Methods for Creating a \Range * - * - ::new:: Returns a new range. + * - ::new: Returns a new range. * * === Methods for Querying * - * - #begin:: Returns the begin value given for +self+. - * - #bsearch:: Returns an element from +self+ selected by a binary search. - * - #count:: Returns a count of elements in +self+. - * - #end:: Returns the end value given for +self+. - * - #exclude_end?:: Returns whether the end object is excluded. - * - #first:: Returns the first elements of +self+. - * - #hash:: Returns the integer hash code. - * - #last:: Returns the last elements of +self+. - * - #max:: Returns the maximum values in +self+. - * - #min:: Returns the minimum values in +self+. - * - #minmax:: Returns the minimum and maximum values in +self+. - * - #size:: Returns the count of elements in +self+. + * - #begin: Returns the begin value given for +self+. + * - #bsearch: Returns an element from +self+ selected by a binary search. + * - #count: Returns a count of elements in +self+. + * - #end: Returns the end value given for +self+. + * - #exclude_end?: Returns whether the end object is excluded. + * - #first: Returns the first elements of +self+. + * - #hash: Returns the integer hash code. + * - #last: Returns the last elements of +self+. + * - #max: Returns the maximum values in +self+. + * - #min: Returns the minimum values in +self+. + * - #minmax: Returns the minimum and maximum values in +self+. + * - #size: Returns the count of elements in +self+. * * === Methods for Comparing * - * - #==:: Returns whether a given object is equal to +self+ (uses #==). - * - #===:: Returns whether the given object is between the begin and end values. - * - #cover?:: Returns whether a given object is within +self+. - * - #eql?:: Returns whether a given object is equal to +self+ (uses #eql?). - * - #include? (aliased as #member?):: Returns whether a given object - * is an element of +self+. + * - #==: Returns whether a given object is equal to +self+ (uses #==). + * - #===: Returns whether the given object is between the begin and end values. + * - #cover?: Returns whether a given object is within +self+. + * - #eql?: Returns whether a given object is equal to +self+ (uses #eql?). + * - #include? (aliased as #member?): Returns whether a given object + * is an element of +self+. * * === Methods for Iterating * - * - #%:: Requires argument +n+; calls the block with each +n+-th element of +self+. - * - #each:: Calls the block with each element of +self+. - * - #step:: Takes optional argument +n+ (defaults to 1); - calls the block with each +n+-th element of +self+. + * - #%: Requires argument +n+; calls the block with each +n+-th element of +self+. + * - #each: Calls the block with each element of +self+. + * - #step: Takes optional argument +n+ (defaults to 1); + calls the block with each +n+-th element of +self+. * * === Methods for Converting * - * - #inspect:: Returns a string representation of +self+ (uses #inspect). - * - #to_a (aliased as #entries):: Returns elements of +self+ in an array. - * - #to_s:: Returns a string representation of +self+ (uses #to_s). + * - #inspect: Returns a string representation of +self+ (uses #inspect). + * - #to_a (aliased as #entries): Returns elements of +self+ in an array. + * - #to_s: Returns a string representation of +self+ (uses #to_s). * */ |