Module: Toji::Processing::CooledRice
- Defined in:
- lib/toji/processing/cooled_rice.rb
Instance Method Summary collapse
-
#cooling_ratio ⇒ Object
放冷後蒸米歩合.
-
#weight ⇒ Object
放冷後蒸米総重量.
Instance Method Details
#cooling_ratio ⇒ Object
放冷後蒸米歩合
16 17 18 19 |
# File 'lib/toji/processing/cooled_rice.rb', line 16 def cooling_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/cooled_rice.rb', line 11 def weight (elements || []).map(&:weight).sum end |