We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
def scoring(array)
# update_score of every user in the array unless the user is admin
array.each do |item|
unless item.is_admin? item.update_score
end
end
end
Cookie support is required to access HackerRank
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 →