From 5256d1026505b01f75669c1087c74c04dacd05ba Mon Sep 17 00:00:00 2001 From: tenderlove Date: Thu, 20 May 2010 04:03:47 +0000 Subject: * ext/psych/lib/psych/stream.rb: adding YAML streaming API for infinite length streams. * ext/psych/lib/psych.rb: refactoring for streaming API * ext/psych/lib/psych/{handler, stream, tree_builder}.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/psych/lib/psych/handler.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ext/psych/lib/psych/handler.rb') diff --git a/ext/psych/lib/psych/handler.rb b/ext/psych/lib/psych/handler.rb index bfc62d701f..a2aa6bb178 100644 --- a/ext/psych/lib/psych/handler.rb +++ b/ext/psych/lib/psych/handler.rb @@ -211,5 +211,11 @@ module Psych # Called when the YAML stream ends def end_stream end + + ### + # Is this handler a streaming handler? + def streaming? + false + end end end -- cgit v1.2.3