class BeerRecipe::YeastWrapper
Public Instance Methods
formatted_attenuation()
click to toggle source
# File lib/beer_recipe/yeast_wrapper.rb, line 2 def formatted_attenuation return "" if blank?(attenuation) "#{'%.0f' % attenuation}%" end
formatted_temperatures()
click to toggle source
# File lib/beer_recipe/yeast_wrapper.rb, line 7 def formatted_temperatures return "" if blank?(min_temperature) || blank?(max_temperature) "#{'%.0f' % min_temperature}°C - #{'%.0f' % max_temperature}°C" end