回答編集履歴

1

修正

2019/08/16 11:36

投稿

asm
asm

スコア15147

test CHANGED
@@ -1,8 +1,8 @@
1
1
  ```ruby
2
2
 
3
- ary = [a,b,c,d]
3
+ ary = [a,b,c,d].grep_v("")
4
4
 
5
- if !ary.uniq! && !ary.include?("")
5
+ if !ary.uniq!
6
6
 
7
7
  何かしらのアクション
8
8