var keys = %w(a b c) var vals = [1, 2, 3] var hash = Hash() hash{keys...} = vals... say hash
Last updated 1 year ago