summaryrefslogtreecommitdiff
path: root/ext/psych/lib/psych/nodes/scalar.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/psych/lib/psych/nodes/scalar.rb')
-rw-r--r--ext/psych/lib/psych/nodes/scalar.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/psych/lib/psych/nodes/scalar.rb b/ext/psych/lib/psych/nodes/scalar.rb
index b448858..e2616b6 100644
--- a/ext/psych/lib/psych/nodes/scalar.rb
+++ b/ext/psych/lib/psych/nodes/scalar.rb
@@ -63,6 +63,8 @@ module Psych
@quoted = quoted
@style = style
end
+
+ def scalar?; true; end
end
end
end