map list (array)
Create a new immutable key/value map from args.
Introduced in v2.11
(map foo: 1, bar: 2)[:foo]
#=> 1
(map foo: 1, bar: 2)[:bar]
#=> 2
(map foo: 1, bar: 2)[:quux]
#=> nil