Class: Psych::Nodes::Alias
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: 
          self,
          Node
         | |
| Instance Chain: 
          self,
          Node,
          Enumerable
         | |
| Inherits: | Psych::Nodes::Node 
 | 
| Defined in: | ext/psych/lib/psych/nodes/alias.rb | 
Overview
This class represents a YAML Alias. It points to an #anchor.
A Alias is a terminal node and may have no children.
Class Method Summary
- 
    
      .new(anchor)  ⇒ Alias 
    
    constructor
    Create a new Aliasthat points to an #anchor
Node - Inherited
Instance Attribute Summary
Instance Method Summary
Node - Inherited
| #each | Iterate over each node in the tree. | 
| #to_ruby | Convert this node to Ruby. | 
| #to_yaml | 
 | 
| #transform | 
 | 
| #yaml | Convert this node to YAML. | 
Constructor Details
    .new(anchor)  ⇒ Alias 
  
Create a new Alias that points to an #anchor
Instance Attribute Details
#anchor (rw)
The anchor this alias links to
# File 'ext/psych/lib/psych/nodes/alias.rb', line 11
attr_accessor :anchor