How Ruby’s Dig Method Works with Hashes and Yaml Files