Class: NRB::BeerXML::Hop
Instance Attribute Summary collapse
-
#alpha ⇒ Object
percentage required.
-
#amount ⇒ Object
weight required.
-
#beta ⇒ Object
percentage.
-
#caryophyllene ⇒ Object
percentage.
-
#cohumulone ⇒ Object
percentage.
-
#form ⇒ Object
list.
-
#hsi ⇒ Object
percentage.
-
#myrcene ⇒ Object
percentage.
-
#notes ⇒ Object
text.
-
#origin ⇒ Object
text.
-
#substitutes ⇒ Object
text.
-
#time ⇒ Object
time required.
-
#type ⇒ Object
list.
-
#use ⇒ Object
list required.
Attributes inherited from Record
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
Constructor Details
This class inherits a constructor from NRB::BeerXML::Record
Instance Attribute Details
#alpha ⇒ Object
percentage required
5 6 7 |
# File 'lib/nrb/beerxml/hop.rb', line 5 def alpha @alpha end |
#amount ⇒ Object
weight required
6 7 8 |
# File 'lib/nrb/beerxml/hop.rb', line 6 def amount @amount end |
#beta ⇒ Object
percentage
7 8 9 |
# File 'lib/nrb/beerxml/hop.rb', line 7 def beta @beta end |
#caryophyllene ⇒ Object
percentage
8 9 10 |
# File 'lib/nrb/beerxml/hop.rb', line 8 def caryophyllene @caryophyllene end |
#cohumulone ⇒ Object
percentage
9 10 11 |
# File 'lib/nrb/beerxml/hop.rb', line 9 def cohumulone @cohumulone end |
#form ⇒ Object
list
10 11 12 |
# File 'lib/nrb/beerxml/hop.rb', line 10 def form @form end |
#hsi ⇒ Object
percentage
11 12 13 |
# File 'lib/nrb/beerxml/hop.rb', line 11 def hsi @hsi end |
#myrcene ⇒ Object
percentage
12 13 14 |
# File 'lib/nrb/beerxml/hop.rb', line 12 def myrcene @myrcene end |
#notes ⇒ Object
text
13 14 15 |
# File 'lib/nrb/beerxml/hop.rb', line 13 def notes @notes end |
#origin ⇒ Object
text
14 15 16 |
# File 'lib/nrb/beerxml/hop.rb', line 14 def origin @origin end |
#substitutes ⇒ Object
text
15 16 17 |
# File 'lib/nrb/beerxml/hop.rb', line 15 def substitutes @substitutes end |
#time ⇒ Object
time required
16 17 18 |
# File 'lib/nrb/beerxml/hop.rb', line 16 def time @time end |
#type ⇒ Object
list
17 18 19 |
# File 'lib/nrb/beerxml/hop.rb', line 17 def type @type end |
#use ⇒ Object
list required
18 19 20 |
# File 'lib/nrb/beerxml/hop.rb', line 18 def use @use end |