Skip to content

Commit

Permalink
Add: 一回火入れを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
yonta committed Jun 18, 2024
1 parent 609b3fa commit 9138266
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/sake.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class Sake < ApplicationRecord
mae_hiire: 2,
ato_hiire: 3,
nido_hiire: 4,
ikkai_hiire: 5,
}, _prefix: true
enum tokutei_meisho: {
none: 0,
Expand Down Expand Up @@ -196,4 +197,5 @@ def selling_price
(price.to_f / size * 180 * SELLING_RATE).ceil(-2)
end
end

# rubocop:enable Metrics/ClassLength
1 change: 1 addition & 0 deletions config/locales/enums/sake.ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ ja:
mae_hiire: 前火入れ
ato_hiire: 後火入れ
nido_hiire: 二度火入れ
ikkai_hiire: 一回火入れ(前後不明)
tokutei_meisho:
none: なし
honjozo: 本醸造
Expand Down

0 comments on commit 9138266

Please sign in to comment.