You are viewing a single comment's thread. Return to all comments →
if we saw previous task we can do this task by adding only one more line to previous code let's see!
def scoring(array) array.each do |user| user.update_score unless user.is_admin? end end
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 →
if we saw previous task we can do this task by adding only one more line to previous code let's see!