Class: NRB::BeerXML::Water

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

Instance Attribute Summary collapse

Attributes inherited from Record

#name, #version

Method Summary

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

#amountObject

volume required



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

def amount
  @amount
end

#bicarbonateObject

float required



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

def bicarbonate
  @bicarbonate
end

#calciumObject

float required



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

def calcium
  @calcium
end

#chlorideObject

float required



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

def chloride
  @chloride
end

#magnesiumObject

float required



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

def magnesium
  @magnesium
end

#notesObject

string



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

def notes
  @notes
end

#phObject

float



10
11
12
# File 'lib/nrb/beerxml/water.rb', line 10

def ph
  @ph
end

#sodiumObject

float required



11
12
13
# File 'lib/nrb/beerxml/water.rb', line 11

def sodium
  @sodium
end

#sulfateObject

float required



12
13
14
# File 'lib/nrb/beerxml/water.rb', line 12

def sulfate
  @sulfate
end