Class: NRB::BeerXML::Misc

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

float required



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

def amount
  @amount
end

#amount_is_weightObject

boolean



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

def amount_is_weight
  @amount_is_weight
end

#notesObject

string



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

def notes
  @notes
end

#timeObject

time required



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

def time
  @time
end

#typeObject

list required



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

def type
  @type
end

#useObject

list required



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

def use
  @use
end

#use_forObject

string



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

def use_for
  @use_for
end