Class Gem::NoAliasYAMLTree
In: lib/rubygems/psych_tree.rb
Parent: Psych::Visitors::YAMLTree

Methods

Public Instance methods

Noop this out so there are no anchors

[Source]

    # File lib/rubygems/psych_tree.rb, line 12
12:       def register(target, obj)
13:       end

[Source]

   # File lib/rubygems/psych_tree.rb, line 4
4:       def visit_String(str)
5:         return super unless str == '=' # or whatever you want
6: 
7:         quote = Psych::Nodes::Scalar::SINGLE_QUOTED
8:         @emitter.scalar str, nil, nil, false, true, quote
9:       end

[Validate]