mirror of
https://github.com/jbranchaud/til
synced 2026-01-07 09:08:01 +00:00
Merge cff6592c4e into 99ce5aee7b
This commit is contained in:
@@ -21,5 +21,7 @@ at the same time when you call
|
|||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
list = [3,7,4,15,9,1,2]
|
list = [3,7,4,15,9,1,2]
|
||||||
|
|
||||||
|
list.minmax
|
||||||
#=> [1,15]
|
#=> [1,15]
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user