added missing closing tag for code snippet (#25673)
parent
b8654ccba4
commit
3d694d7ffd
|
@ -148,6 +148,7 @@ array = [1, 2, 3, 4, 5]
|
|||
=> [1, 2, 3, 4, 5]
|
||||
array.include?(3)
|
||||
=> true
|
||||
```
|
||||
|
||||
#### .flatten
|
||||
The flatten method can be used to take an array that contains nested arrays and create a one-dimensional array:
|
||||
|
|
Loading…
Reference in New Issue