summaryrefslogtreecommitdiff
path: root/lib/yaml/emitter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yaml/emitter.rb')
-rw-r--r--lib/yaml/emitter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yaml/emitter.rb b/lib/yaml/emitter.rb
index 66c7a6e813..0255cc7d02 100644
--- a/lib/yaml/emitter.rb
+++ b/lib/yaml/emitter.rb
@@ -286,7 +286,7 @@ module YAML
@buffer.push( "" )
#p [ self.id, @level, :END ]
if @level < 0
- header + @buffer.to_s[@headless..-1]
+ header + @buffer.to_s[@headless..-1].to_s
end
end
end