This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
barleysodas/app/helpers/beers_helper.rb

6 lines
101 B
Ruby

module BeersHelper
def abv(beer)
number_to_percentage(beer.abv, { :precision => 1 })
end
end