From ffcdbedbfb7fc37564ea046d381954eb53eaf6f9 Mon Sep 17 00:00:00 2001 From: Burdette Lamar Date: Wed, 30 Mar 2022 13:46:24 -0500 Subject: Repaired What's Here sections for Range, String, Symbol, Struct (#5735) Repaired What's Here sections for Range, String, Symbol, Struct. --- range.c | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'range.c') diff --git a/range.c b/range.c index 0e04071ca6..e0d27012b4 100644 --- a/range.c +++ b/range.c @@ -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). * */ -- cgit v1.2.3