diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-08 13:23:08 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-08 13:23:08 -0800 |
commit | 34d3b22d2b94e58b0e51ac922ea48d686fcbb901 (patch) | |
tree | 7b9599abf65a350c7a680f15f4ccf0614674c2f9 /.gitignore | |
parent | 90acf338b14a31498e8888493b31a90f13978918 (diff) | |
download | psych-34d3b22d2b94e58b0e51ac922ea48d686fcbb901.zip |
* ext/psych/lib/psych.rb (parse_stream, load_stream): if a block is
given, documents will be yielded to the block as they are parsed.
[ruby-core:42404] [Bug #5978]
* ext/psych/lib/psych/handlers/document_stream.rb: add a handler that
yields documents as they are parsed
* test/psych/test_stream.rb: corresponding tests.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions