Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_1_378) is shown here.
load_file( filepath )
public
Load a document from the file located at filepath.
YAML.load_file( 'animals.yaml' )
# File lib/yaml.rb, line 142
def YAML.load_file( filepath )
File.open( filepath ) do |f|
load( f )
end
end