summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/psych/lib/psych/visitors/yaml_tree.rb2
-rw-r--r--test/psych/test_stringio.rb14
2 files changed, 15 insertions, 1 deletions
@@ -198,7 +198,7 @@ module Psych
@emitter.end_mapping
end
- end
def visit_Struct o
tag = ['!ruby/struct', o.class.name].compact.join(':')
@@ -0,0 +1,14 @@