Class: NRB::BeerXML::Hop

Inherits:
Record
  • Object
show all
Defined in:
lib/nrb/beerxml/hop.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

#alphaObject

percentage required



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

def alpha
  @alpha
end

#amountObject

weight required



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

def amount
  @amount
end

#betaObject

percentage



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

def beta
  @beta
end

#caryophylleneObject

percentage



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

def caryophyllene
  @caryophyllene
end

#cohumuloneObject

percentage



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

def cohumulone
  @cohumulone
end

#formObject

list



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

def form
  @form
end

#hsiObject

percentage



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

def hsi
  @hsi
end

#myrceneObject

percentage



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

def myrcene
  @myrcene
end

#notesObject

text



13
14
15
# File 'lib/nrb/beerxml/hop.rb', line 13

def notes
  @notes
end

#originObject

text



14
15
16
# File 'lib/nrb/beerxml/hop.rb', line 14

def origin
  @origin
end

#substitutesObject

text



15
16
17
# File 'lib/nrb/beerxml/hop.rb', line 15

def substitutes
  @substitutes
end

#timeObject

time required



16
17
18
# File 'lib/nrb/beerxml/hop.rb', line 16

def time
  @time
end

#typeObject

list



17
18
19
# File 'lib/nrb/beerxml/hop.rb', line 17

def type
  @type
end

#useObject

list required



18
19
20
# File 'lib/nrb/beerxml/hop.rb', line 18

def use
  @use
end