method

load_file

Importance_1
v2_6_3 - Show latest stable - 0 notes - Class: Psych
load_file(filename, fallback: false) public

Load the document contained in filename. Returns the yaml contained in filename as a Ruby object, or if the file is empty, it returns the specified fallback return value, which defaults to false.

Show source
Register or log in to add new notes.