method
load_file
v2_4_6 -
Show latest stable
- 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 default return value, which defaults to an empty Hash