Class: ProMashRec::MashStep

Inherits:
Brewser::MashStep show all
Defined in:
lib/brewser/engines/promash_rec.rb

Instance Method Summary collapse

Methods inherited from Brewser::Model

#as_beerxml, #as_brewson, auto_migrate_down!, auto_migrate_up!, auto_upgrade!, #deep_json, default_repository_name, #to_json

Instance Method Details

#from_simple(idx, name, rest_temp, rest_time) ⇒ Object



300
301
302
303
304
305
306
307
# File 'lib/brewser/engines/promash_rec.rb', line 300

def from_simple(idx, name, rest_temp, rest_time)
  self.index = idx
  self.name = name
  self.rest_temperature = rest_temp.u
  self.rest_time = rest_time.u
  
  return self
end