--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Parse the first document from the current <em>io</em> stream
- !ruby/struct:SM::Flow::VERB 
  body: "  File.open( 'animals.yaml' ) { |yf| YAML::load( yf ) }\n     #=&gt; #&lt;YAML::Syck::Node:0x82ccce0\n          @kind=:seq,\n          @value=\n           [#&lt;YAML::Syck::Node:0x82ccd94\n             @kind=:scalar,\n             @type_id=&quot;str&quot;,\n             @value=&quot;badger&quot;&gt;,\n            #&lt;YAML::Syck::Node:0x82ccd58\n             @kind=:scalar,\n             @type_id=&quot;str&quot;,\n             @value=&quot;elephant&quot;&gt;,\n            #&lt;YAML::Syck::Node:0x82ccd1c\n             @kind=:scalar,\n             @type_id=&quot;str&quot;,\n             @value=&quot;tiger&quot;&gt;]&gt;\n"
- !ruby/struct:SM::Flow::P 
  body: Can also load from a string.
- !ruby/struct:SM::Flow::VERB 
  body: "  YAML.parse( &quot;--- :locked&quot; )\n     #=&gt; #&lt;YAML::Syck::Node:0x82edddc\n           @type_id=&quot;tag:ruby.yaml.org,2002:sym&quot;,\n           @value=&quot;:locked&quot;, @kind=:scalar&gt;\n"
full_name: YAML::parse
is_singleton: true
name: parse
params: ( io )
visibility: public
