Class: ProMashRec

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

Defined Under Namespace

Classes: Additive, Fermentable, FermentationSchedule, FermentationStep, Hop, MashSchedule, MashStep, Recipe, SimpleSchedule, Style, WaterProfile, Yeast

Class Method Summary collapse

Class Method Details

.acceptable?(q) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/brewser/engines/promash_rec.rb', line 5

def acceptable?(q)
  return true
end

.deserialize(io) ⇒ Object



9
10
11
12
13
# File 'lib/brewser/engines/promash_rec.rb', line 9

def deserialize(io)
  object = ProMashRec::Recipe.new
  object.from_promash(io)
  return object
end