Hi, I have a hash that contains duplicate data, for example, :username => “alex” ... hash.map { |k,v| v }.uniq.each { |name| puts name }.
確定! 回上一頁