Using a Helper to Format the Price
Learn to use helper functions in Ruby.
We'll cover the following...
Ruby provides a sprintf()
function that can be used to format prices. We could place logic that makes use of this function directly in ...