質問するログイン新規登録

質問編集履歴

1

sum_impになっていた仮引数をimpに修正

2019/07/25 08:47

投稿

THitokuse
THitokuse

スコア49

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 |sum_imp|
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
  ```