Greg Witt
Greg Witt
21,038 Points

Should we be receiving a TypeError?

I am attempting to concatenate the answer returned from the ask method and I am receiving a TypeError, Not sure how to catch this and proceed.

Hello, Welcome to the Widgets Store! How many Widgets are you ordering? 9 9 widgets.rb:18:in+': no implicit conversion of nil into String (TypeError)
from widgets.rb:18:in <main>'