I'm trying to find a way to write in GUI for user that there is nothing in the button they just clicked
I've tried a method like `
if @album[@user_choice_album].tracks[10].name == nil
return
` But it interrupt the program and gave an message instead, while i was expecting it to interrupt the procedure and go to the next one.
test.rb:192:in `draw_now_playing': undefined method `name' for nil:NilClass (NoMethodError)
if (!(@album[@user_choice_album].tracks[10].name))\