Given a dictionary, how to create variables that point to the keys’ value.
This is easy to do manually:
dict = Dict(:a => "newton", :b => "einstein", :c => "hawking") a = dict[:a] a # => "newton" b = dict[:b] b # => "einstein"
but how to do it automatically? My mind has gone blank…