[DOC] Fix formatting for ways to create Range objects
This commit is contained in:
parent
9c12c39ed1
commit
e358104e6e
Notes:
git
2024-09-18 19:18:25 +00:00
2
range.c
2
range.c
@ -2502,7 +2502,7 @@ range_overlap(VALUE range, VALUE other)
|
||||
* (1...4).to_a # => [1, 2, 3]
|
||||
* ('a'...'d').to_a # => ["a", "b", "c"]
|
||||
*
|
||||
* A range may be created using method Range.new:
|
||||
* - Method Range.new:
|
||||
*
|
||||
* # Ranges that by default include the given end value.
|
||||
* Range.new(1, 4).to_a # => [1, 2, 3, 4]
|
||||
|
Loading…
x
Reference in New Issue
Block a user