diff options
Diffstat (limited to 'ext/psych/lib/psych/stream.rb')
-rw-r--r-- | ext/psych/lib/psych/stream.rb | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/ext/psych/lib/psych/stream.rb b/ext/psych/lib/psych/stream.rb index 508483e573..567c1bb790 100644 --- a/ext/psych/lib/psych/stream.rb +++ b/ext/psych/lib/psych/stream.rb @@ -31,23 +31,6 @@ module Psych end end - ### - # 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 + include Psych::Streaming end end |