質問編集履歴
1
sum_impになっていた仮引数をimpに修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
2. array << {format: value, imp: 同じformatの合計}でreturnする。
|
6
6
|
|
7
7
|
```
|
8
|
-
user_and_format_data.each do |
|
8
|
+
user_and_format_data.each do |imp|
|
9
9
|
user_and_format_data_arr << { imp: imp.imp, format_name: format_name }
|
10
10
|
end
|
11
11
|
```
|