Skip to content

Commit

Permalink
Repaired What's Here sections for Range, String, Symbol, Struct (#5735)
Browse files Browse the repository at this point in the history
Repaired What's Here sections for Range, String, Symbol, Struct.
  • Loading branch information
BurdetteLamar committed Mar 30, 2022
1 parent 79b59fe commit ffcdbed
Show file tree
Hide file tree
Showing 3 changed files with 233 additions and 232 deletions.
52 changes: 26 additions & 26 deletions range.c
Expand Up @@ -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).
*
*/

Expand Down

0 comments on commit ffcdbed

Please sign in to comment.