diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-02-17 22:46:59 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-02-17 22:46:59 -0800 |
commit | 62109d4ecb1650ee86e15e5d15df5692206390dc (patch) | |
tree | 0e44df6a66d621ce5a8740bac5f08217617e075d /lib | |
parent | ebf212880db752979336cfc613bac7c3d0d83d32 (diff) | |
download | psych-62109d4ecb1650ee86e15e5d15df5692206390dc.zip |
no longer emitting colon with struct members
Diffstat (limited to 'lib')
-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 15cc494..3ea7685 100644 --- a/lib/psych/visitors/yaml_tree.rb +++ b/lib/psych/visitors/yaml_tree.rb @@ -68,7 +68,7 @@ module Psych @stack.push append map o.members.each do |member| - map.children << Nodes::Scalar.new(":#{member}") + map.children << Nodes::Scalar.new("#{member}") accept o[member] end |