summaryrefslogtreecommitdiff
path: root/ext/psych/lib/psych/nodes/document.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/psych/lib/psych/nodes/document.rb')
-rw-r--r--ext/psych/lib/psych/nodes/document.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/psych/lib/psych/nodes/document.rb b/ext/psych/lib/psych/nodes/document.rb
index 3cd418e..f57410d 100644
--- a/ext/psych/lib/psych/nodes/document.rb
+++ b/ext/psych/lib/psych/nodes/document.rb
@@ -56,6 +56,8 @@ module Psych
def root
children.first
end
+
+ def document?; true; end
end
end
end