You are viewing a single comment's thread. Return to all comments →
I used a block instead (thanks, CodeCademy!):
def scoring(array) array.each { |user| user.update_score } end
Seems like cookies are disabled on this browser, please enable them to open this website
Ruby Control Structures - Each
You are viewing a single comment's thread. Return to all comments →
I used a block instead (thanks, CodeCademy!):