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( io )
public
Load a document from the current io stream.
File.open( 'animals.yaml' ) { |yf| YAML::load( yf ) }
Can also load from a string.
YAML.load( "--- :locked" )
# File lib/yaml.rb, line 132
def YAML.load( io )
yp = parser.load( io )
end