Current Path : /usr/local/share/ri/1.8/system/YAML/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/YAML/load_documents-c.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls <em>block</em> with each consecutive document in the YAML stream contained in <em>io</em>. - !ruby/struct:SM::Flow::VERB body: " File.open( 'many-docs.yaml' ) do |yf|\n YAML.load_documents( yf ) do |ydoc|\n ## ydoc contains the single object\n ## from the YAML document\n end\n end\n" full_name: YAML::load_documents is_singleton: true name: load_documents params: ( io, &doc_proc ) visibility: public