mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Add missing word
This commit is contained in:
parent
f56be4286f
commit
dc83de4928
Notes:
git
2024-10-03 13:28:30 +00:00
1 changed files with 1 additions and 1 deletions
2
range.c
2
range.c
|
@ -2621,7 +2621,7 @@ range_overlap(VALUE range, VALUE other)
|
|||
* == Ranges and User-Defined Classes
|
||||
*
|
||||
* A user-defined class that is to be used in a range
|
||||
* must implement instance <tt>#<=></tt>;
|
||||
* must implement instance method <tt>#<=></tt>;
|
||||
* see Integer#<=>.
|
||||
* To make iteration available, it must also implement
|
||||
* instance method +succ+; see Integer#succ.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue