diff options
author | Joseph Bisch <joseph.bisch@gmail.com> | 2015-07-10 16:25:48 -0400 |
---|---|---|
committer | Joseph Bisch <joseph.bisch@gmail.com> | 2015-07-10 16:25:48 -0400 |
commit | 5c9c5689757c45f9d8aa8abc4dfd9bddb6327087 (patch) | |
tree | 58ab17e27ebefec259f9a5f0fb95060fd543f60c /lib/psych/visitors/yaml_tree.rb | |
parent | 86388bbc72c7bd10d3482cc63dfdfa276c604baf (diff) | |
download | psych-5c9c5689757c45f9d8aa8abc4dfd9bddb6327087.zip |
Fix omap to be !!omap instead of !omap
Fixes #241
Diffstat (limited to 'lib/psych/visitors/yaml_tree.rb')
-rw-r--r-- | lib/psych/visitors/yaml_tree.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/psych/visitors/yaml_tree.rb b/lib/psych/visitors/yaml_tree.rb index e13fd77..3087a4d 100644 --- a/lib/psych/visitors/yaml_tree.rb +++ b/lib/psych/visitors/yaml_tree.rb @@ -156,7 +156,7 @@ module Psych end def visit_Psych_Omap o - seq = @emitter.start_sequence(nil, '!omap', false, Nodes::Sequence::BLOCK) + seq = @emitter.start_sequence(nil, 'tag:yaml.org,2002:omap', false, Nodes::Sequence::BLOCK) register(o, seq) o.each { |k,v| visit_Hash k => v } |