method

parse_file

v2_5_5 - Show latest stable - Class: Psych
parse_file(filename)
public

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

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