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