You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: richest_customer_wealth.rb
    path of file: ./repos/Ruby/data_structures/arrays
    
    the code of the file until where you have to start completion: # Challenge name: Richest Customer Wealth
#
# You are given an m x
    
def find_richest_customer_wealth(accounts)
  summed_accounts = []
  accounts.each do |customer|
    summed = 0
    customer.each do |account|
      summed += account
    end
    summed_accounts.push(summed)
  end

  summed_accounts.sort.pop
end