added missing closing tag for code snippet (#25673)

pull/27311/head
Sergei Mellow 2018-10-23 15:09:26 -04:00 committed by Paul Gamble
parent b8654ccba4
commit 3d694d7ffd
1 changed files with 1 additions and 0 deletions

View File

@ -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: