Issue #5599 has been updated by Thomas Sawyer.


I thought it worked in older versions, but maybe not.

I worked around it any way, so it's okay for me. It's up to you if you think it's worth back-porting or not.

Thanks.
----------------------------------------
Bug #5599: YAML.load_documents
http://redmine.ruby-lang.org/issues/5599

Author: Thomas Sawyer
Status: Open
Priority: High
Assignee: 
Category: 
Target version: 
ruby -v: ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]


Just discovered:

  YAML.load_documents(@out)

is raising an error "undefined method `call' for nil:NilClass", b/c their is no block, but it is supposed to (and used to) return an array of documents.

It works fine in Ruby 1.9.3.




-- 
http://redmine.ruby-lang.org