4 ms·
I guess I would have written the Ruby version as def values_in(keys, dict) dict.slice(*keys).values end Though I suppose it's not the point of t
by VeejayRampay 12y ago
I guess I would have written the Ruby version as
def values_in(keys, dict)
dict.slice(*keys).values
end
Though I suppose it's not the point of the article.