class Faker::Beer

def alcohol

Returns:
  • (String) -
def alcohol
  "#{rand(2.0..10.0).round(1)}%"
end

def blg

Returns:
  • (String) -
def blg
  "#{rand(5.0..20.0).round(1)}°Blg"
end

def hop

Returns:
  • (String) -
def hop
  fetch('beer.hop')
end

def ibu

Returns:
  • (String) -
def ibu
  "#{rand(10..100)} IBU"
end

def malts

Returns:
  • (String) -
def malts
  fetch('beer.malt')
end

def name

Returns:
  • (String) -
def name
  fetch('beer.name')
end

def style

Returns:
  • (String) -
def style
  fetch('beer.style')
end

def yeast

Returns:
  • (String) -
def yeast
  fetch('beer.yeast')
end