summaryrefslogtreecommitdiff
path: root/lib/psych/nodes/document.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2009-09-29 10:23:55 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2009-09-29 10:23:55 -0700
commit26eee0cd258ef47d595e9ae44e06ccf4d71ced56 (patch)
tree3632e3d2930c740ae05348c643837e22d41d8e5d /lib/psych/nodes/document.rb
parent75fdcc42bb2ce2abb206f01b8e90729dedc8286c (diff)
downloadpsych-26eee0cd258ef47d595e9ae44e06ccf4d71ced56.tar.gz
testing implcit document ends
Diffstat (limited to 'lib/psych/nodes/document.rb')
-rw-r--r--lib/psych/nodes/document.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/psych/nodes/document.rb b/lib/psych/nodes/document.rb
index be786c6..4f46644 100644
--- a/lib/psych/nodes/document.rb
+++ b/lib/psych/nodes/document.rb
@@ -10,11 +10,15 @@ module Psych
# Was this document implicitly created?
attr_accessor :implicit
+ # Is the end of the document implicit?
+ attr_accessor :implicit_end
+
def initialize version = [], tag_directives = [], implicit = false
super()
@version = version
@tag_directives = tag_directives
@implicit = implicit
+ @implicit_end = true
end
###