Ruby - Hashes
You have a nested data structure:
Which
settings = {theme: {colors: [{name: "red", code: "#f00"}, {name: "green", code: "#0f0"}]}}Which
dig call correctly retrieves the color code for the second color?