summaryrefslogtreecommitdiff
path: root/ruby_1_9_3/ext/psych/lib/psych/streaming.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_1_9_3/ext/psych/lib/psych/streaming.rb')
-rw-r--r--ruby_1_9_3/ext/psych/lib/psych/streaming.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/ruby_1_9_3/ext/psych/lib/psych/streaming.rb b/ruby_1_9_3/ext/psych/lib/psych/streaming.rb
deleted file mode 100644
index c6fa109d5a..0000000000
--- a/ruby_1_9_3/ext/psych/lib/psych/streaming.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-module Psych
- module Streaming
- ###
- # Create a new streaming emitter. Emitter will print to +io+. See
- # Psych::Stream for an example.
- def initialize io
- super({}, self.class.const_get(:Emitter).new(io))
- end
-
- ###
- # Start streaming using +encoding+
- def start encoding = Nodes::Stream::UTF8
- super.tap { yield self if block_given? }
- ensure
- finish if block_given?
- end
-
- private
- def register target, obj
- end
- end
-end