You are viewing a single comment's thread. Return to all comments →
You need three "end".
One for the function scoring, one for the array.each and another one for the unless structure.
The rest of the code looks fine for me
Seems like cookies are disabled on this browser, please enable them to open this website
Ruby Control Structures - Unless
You are viewing a single comment's thread. Return to all comments →
You need three "end".
One for the function scoring, one for the array.each and another one for the unless structure.
The rest of the code looks fine for me