Skip to content

Commit ffcdbed

Browse files
Repaired What's Here sections for Range, String, Symbol, Struct (#5735)
Repaired What's Here sections for Range, String, Symbol, Struct.
1 parent 79b59fe commit ffcdbed

File tree

3 files changed

+233
-232
lines changed

3 files changed

+233
-232
lines changed

range.c

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2224,44 +2224,44 @@ range_count(int argc, VALUE *argv, VALUE range)
22242224
*
22252225
* === Methods for Creating a \Range
22262226
*
2227-
* - ::new:: Returns a new range.
2227+
* - ::new: Returns a new range.
22282228
*
22292229
* === Methods for Querying
22302230
*
2231-
* - #begin:: Returns the begin value given for +self+.
2232-
* - #bsearch:: Returns an element from +self+ selected by a binary search.
2233-
* - #count:: Returns a count of elements in +self+.
2234-
* - #end:: Returns the end value given for +self+.
2235-
* - #exclude_end?:: Returns whether the end object is excluded.
2236-
* - #first:: Returns the first elements of +self+.
2237-
* - #hash:: Returns the integer hash code.
2238-
* - #last:: Returns the last elements of +self+.
2239-
* - #max:: Returns the maximum values in +self+.
2240-
* - #min:: Returns the minimum values in +self+.
2241-
* - #minmax:: Returns the minimum and maximum values in +self+.
2242-
* - #size:: Returns the count of elements in +self+.
2231+
* - #begin: Returns the begin value given for +self+.
2232+
* - #bsearch: Returns an element from +self+ selected by a binary search.
2233+
* - #count: Returns a count of elements in +self+.
2234+
* - #end: Returns the end value given for +self+.
2235+
* - #exclude_end?: Returns whether the end object is excluded.
2236+
* - #first: Returns the first elements of +self+.
2237+
* - #hash: Returns the integer hash code.
2238+
* - #last: Returns the last elements of +self+.
2239+
* - #max: Returns the maximum values in +self+.
2240+
* - #min: Returns the minimum values in +self+.
2241+
* - #minmax: Returns the minimum and maximum values in +self+.
2242+
* - #size: Returns the count of elements in +self+.
22432243
*
22442244
* === Methods for Comparing
22452245
*
2246-
* - #==:: Returns whether a given object is equal to +self+ (uses #==).
2247-
* - #===:: Returns whether the given object is between the begin and end values.
2248-
* - #cover?:: Returns whether a given object is within +self+.
2249-
* - #eql?:: Returns whether a given object is equal to +self+ (uses #eql?).
2250-
* - #include? (aliased as #member?):: Returns whether a given object
2251-
* is an element of +self+.
2246+
* - #==: Returns whether a given object is equal to +self+ (uses #==).
2247+
* - #===: Returns whether the given object is between the begin and end values.
2248+
* - #cover?: Returns whether a given object is within +self+.
2249+
* - #eql?: Returns whether a given object is equal to +self+ (uses #eql?).
2250+
* - #include? (aliased as #member?): Returns whether a given object
2251+
* is an element of +self+.
22522252
*
22532253
* === Methods for Iterating
22542254
*
2255-
* - #%:: Requires argument +n+; calls the block with each +n+-th element of +self+.
2256-
* - #each:: Calls the block with each element of +self+.
2257-
* - #step:: Takes optional argument +n+ (defaults to 1);
2258-
calls the block with each +n+-th element of +self+.
2255+
* - #%: Requires argument +n+; calls the block with each +n+-th element of +self+.
2256+
* - #each: Calls the block with each element of +self+.
2257+
* - #step: Takes optional argument +n+ (defaults to 1);
2258+
calls the block with each +n+-th element of +self+.
22592259
*
22602260
* === Methods for Converting
22612261
*
2262-
* - #inspect:: Returns a string representation of +self+ (uses #inspect).
2263-
* - #to_a (aliased as #entries):: Returns elements of +self+ in an array.
2264-
* - #to_s:: Returns a string representation of +self+ (uses #to_s).
2262+
* - #inspect: Returns a string representation of +self+ (uses #inspect).
2263+
* - #to_a (aliased as #entries): Returns elements of +self+ in an array.
2264+
* - #to_s: Returns a string representation of +self+ (uses #to_s).
22652265
*
22662266
*/
22672267

0 commit comments

Comments
 (0)