Class: NRB::BeerXML::MashStep

Inherits:
Record
  • Object
show all
Defined in:
lib/nrb/beerxml/mash_step.rb

Instance Attribute Summary collapse

Attributes inherited from Record

#name, #version

Instance Method Summary collapse

Methods inherited from Record

#equipment?, #fermentable?, #hop?, #initialize, #mash?, #mash_step?, #misc?, #persisted?, #recipe?, #record_type, #style?, #water?, #yeast?

Methods included from Inflector

#camelize, #underscore

Constructor Details

This class inherits a constructor from NRB::BeerXML::Record

Instance Attribute Details

#end_tempObject

temperature



4
5
6
# File 'lib/nrb/beerxml/mash_step.rb', line 4

def end_temp
  @end_temp
end

#infuse_amountObject

volume conditionally required



5
6
7
# File 'lib/nrb/beerxml/mash_step.rb', line 5

def infuse_amount
  @infuse_amount
end

#ramp_timeObject

time



6
7
8
# File 'lib/nrb/beerxml/mash_step.rb', line 6

def ramp_time
  @ramp_time
end

#step_tempObject

temperature required



7
8
9
# File 'lib/nrb/beerxml/mash_step.rb', line 7

def step_temp
  @step_temp
end

#step_timeObject

time required



8
9
10
# File 'lib/nrb/beerxml/mash_step.rb', line 8

def step_time
  @step_time
end

#typeObject

list required



9
10
11
# File 'lib/nrb/beerxml/mash_step.rb', line 9

def type
  @type
end

Instance Method Details

#infuse_amount_required?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/nrb/beerxml/mash_step.rb', line 19

def infuse_amount_required?
  type == "Infusion"
end