method

parse_file

v2_6_3 - Show latest stable - Class: Psych
parse_file(filename, fallback: false)
public

Parse a file at filename. Returns the Psych::Nodes::Document.

Raises a Psych::SyntaxError when a YAML syntax error is detected.