How to parse a yaml file into ruby hashs and/or arrays? July 27, 2023 by Tarik I would use something like: hash = YAML.load(File.read("file_path"))