Class: ProMashTxt::Yeast

Inherits:
Brewser::Yeast show all
Defined in:
lib/brewser/engines/promash_txt.rb

Instance Method Summary collapse

Methods inherited from Brewser::Yeast

#as_json, json_create

Methods inherited from Brewser::Model

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

Instance Method Details

#from_promash(string) ⇒ Object



81
82
83
84
# File 'lib/brewser/engines/promash_txt.rb', line 81

def from_promash(string)
  self.name = string || "Unspecified"
  return self
end