aboutsummaryrefslogtreecommitdiffstats
path: root/lib/yaml/stream.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yaml/stream.rb')
-rw-r--r--lib/yaml/stream.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yaml/stream.rb b/lib/yaml/stream.rb
index 3b6919b5dd..943c51526b 100644
--- a/lib/yaml/stream.rb
+++ b/lib/yaml/stream.rb
@@ -28,7 +28,7 @@ module YAML
opts = @options.dup
opts[:UseHeader] = true if @documents.length > 1
ct = 0
- out = Emitter.new( opts )
+ out = YAML::Syck::Emitter.new( opts )
@documents.each { |v|
if ct > 0
out << "\n--- "