Sha256: 594913e6f9f012357d7d905fc5d0d1e67d4ae87335b6e0e53ccab00703fb9c79
Contents?: true
Size: 405 Bytes
Versions: 1
Compression:
Stored size: 405 Bytes
Contents
module Gem if defined? ::Psych class NoAliasYAMLTree < Psych::Visitors::YAMLTree def visit_String(str) return super unless str == '=' # or whatever you want quote = Psych::Nodes::Scalar::SINGLE_QUOTED @emitter.scalar str, nil, nil, false, true, quote end # Noop this out so there are no anchors def register(target, obj) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubygems-update-1.8.18 | lib/rubygems/psych_tree.rb |