回答編集履歴
4
修正
test
CHANGED
@@ -8,11 +8,11 @@
|
|
8
8
|
|
9
9
|
2.5.0
|
10
10
|
|
11
|
-
[https://docs.ruby-lang.org/ja/2.5.0/
|
11
|
+
[https://docs.ruby-lang.org/ja/2.5.0/class/Hash.html#I_MERGE](https://docs.ruby-lang.org/ja/2.5.0/class/Hash.html#I_MERGE)
|
12
12
|
|
13
13
|
2.6.0
|
14
14
|
|
15
|
-
[https://docs.ruby-lang.org/ja/2.6.0/
|
15
|
+
[https://docs.ruby-lang.org/ja/2.6.0/class/Hash.html#I_MERGE](https://docs.ruby-lang.org/ja/2.6.0/class/Hash.html#I_MERGE)
|
16
16
|
|
17
17
|
|
18
18
|
|
3
URL変更
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
2.6.0
|
14
14
|
|
15
|
-
[https://docs.ruby-lang.org/ja/
|
15
|
+
[https://docs.ruby-lang.org/ja/2.6.0/method/Hash/i/merge=21.html](https://docs.ruby-lang.org/ja/latest/method/Hash/i/merge=21.html)
|
16
16
|
|
17
17
|
|
18
18
|
|
2
追記
test
CHANGED
@@ -13,3 +13,7 @@
|
|
13
13
|
2.6.0
|
14
14
|
|
15
15
|
[https://docs.ruby-lang.org/ja/latest/method/Hash/i/merge=21.html](https://docs.ruby-lang.org/ja/latest/method/Hash/i/merge=21.html)
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
引数の渡し方が変わっています。
|
1
追記
test
CHANGED
@@ -1 +1,15 @@
|
|
1
1
|
すぐにソースの提出とかはできないんですが、確かRuby2.6以降だとmergeの引数にhashを複数個渡せるようになったと思うのでその影響だと思います。
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
###追記
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
2.5.0
|
10
|
+
|
11
|
+
[https://docs.ruby-lang.org/ja/2.5.0/method/Hash/i/merge=21.html](https://docs.ruby-lang.org/ja/2.5.0/method/Hash/i/merge=21.html)
|
12
|
+
|
13
|
+
2.6.0
|
14
|
+
|
15
|
+
[https://docs.ruby-lang.org/ja/latest/method/Hash/i/merge=21.html](https://docs.ruby-lang.org/ja/latest/method/Hash/i/merge=21.html)
|