Skip to content

Commit

Permalink
company,practicesの命名を参考に、名詞+数字の形にした
Browse files Browse the repository at this point in the history
  • Loading branch information
Judeeeee committed Jan 31, 2025
1 parent 41149cb commit daac3af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion db/fixtures/learning_time_frames.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<% week_days = { '日' => 'sun', '月' => 'mon', '火' => 'tue', '水' => 'wed', '木' => 'thu', '金' => 'fri', '土' => 'sat' } %>
<% week_days.each_with_index do |(day_name, day_prefix), day_index| %>
<% (0..23).each_with_index do |hour, hour_index| %>
<%= "#{day_prefix}_#{hour}:" %>
<%= "#{day_prefix}#{hour}:" %>
id: <%= day_index * 24 + hour_index + 1 %>
week_day: <%= day_name %>
activity_time: <%= hour %>
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/learning_time_frames.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<% week_days = { '日' => 'sun', '月' => 'mon', '火' => 'tue', '水' => 'wed', '木' => 'thu', '金' => 'fri', '土' => 'sat' } %>
<% week_days.each_with_index do |(day_name, day_prefix), day_index| %>
<% (0..23).each_with_index do |hour, hour_index| %>
<%= "#{day_prefix}_#{hour}:" %>
<%= "#{day_prefix}#{hour}:" %>
id: <%= day_index * 24 + hour_index + 1 %>
week_day: <%= day_name %>
activity_time: <%= hour %>
Expand Down

0 comments on commit daac3af

Please sign in to comment.