Module: Toji::Processing::Dekoji
- Defined in:
- lib/toji/processing/dekoji.rb
Instance Method Summary collapse
-
#dekoji_ratio ⇒ Object
出麹歩合.
-
#weight ⇒ Object
出麹総重量.
Instance Method Details
#dekoji_ratio ⇒ Object
出麹歩合
16 17 18 19 |
# File 'lib/toji/processing/dekoji.rb', line 16 def dekoji_ratio raw_weight = processing.soaked_rice.weight.to_f (weight.to_f - raw_weight) / raw_weight end |
#weight ⇒ Object
出麹総重量
11 12 13 |
# File 'lib/toji/processing/dekoji.rb', line 11 def weight (elements || []).map(&:weight).sum end |