1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/psych/lib/psych
tenderlove a2e3de1b3f * 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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-08 21:21:52 +00:00
..
handlers * ext/psych/lib/psych.rb (parse_stream, load_stream): if a block is 2012-03-08 21:21:52 +00:00
json
nodes
visitors * ext/psych/lib/psych/visitors/to_ruby.rb: Added support for loading 2012-01-18 03:52:01 +00:00
coder.rb
core_ext.rb * ext/psych/lib/psych/core_ext.rb: only extend Kernel if IRB is loaded 2012-03-05 17:32:53 +00:00
deprecated.rb
handler.rb
nodes.rb
omap.rb
parser.rb * ext/psych/parser.c: removed external encoding setter, allow parser 2012-02-09 18:44:27 +00:00
scalar_scanner.rb
set.rb
stream.rb
streaming.rb
syntax_error.rb
tree_builder.rb
visitors.rb