diff options
Diffstat (limited to 'ext/psych/lib/psych/tree_builder.rb')
-rw-r--r-- | ext/psych/lib/psych/tree_builder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/psych/lib/psych/tree_builder.rb b/ext/psych/lib/psych/tree_builder.rb index 54d87a0b61..8b4e972314 100644 --- a/ext/psych/lib/psych/tree_builder.rb +++ b/ext/psych/lib/psych/tree_builder.rb @@ -57,7 +57,7 @@ module Psych # and +implicit+ styling. # # See Psych::Handler#start_document - def end_document implicit_end + def end_document implicit_end = !streaming? @last.implicit_end = implicit_end pop end |