回答編集履歴
1
修正
test
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
```Ruby
|
2
2
|
|
3
|
-
array.uniq
|
3
|
+
array.uniq!(&:first)
|
4
4
|
|
5
5
|
```
|