Method: Brewer::Procedures#mash

Defined in:
lib/brewer/procedures.rb

#mashObject



119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'lib/brewer/procedures.rb', line 119

def mash
  @controller.sv(@kitchen.recipe.vars['mash_temp'])

  puts Rainbow("Mash started. This will take a while.").green
  @com.ping("Mash started. This will take a while.")

  @controller.relay_config({
    'rims_to' => 'mash',
    'pid'  => 1,
    'pump' => 1
  })

  @controller.watch
  @com.ping("Starting timer for #{to_minutes(@kitchen.recipe.vars['mash_time'])} minutes.")
  wait(@kitchen.recipe.vars['mash_time'])
  @com.ping("🍺 Mash complete 🍺. Check for starch conversion.")
  puts Rainbow("Mash complete").green
  puts "Check for starch conversion"
end