Class: Psych::Visitors::NoAliasRuby

Inherits:
ToRuby show all
Defined in:
lib/psych/visitors/to_ruby.rb

Instance Attribute Summary

Attributes inherited from ToRuby

#class_loader

Instance Method Summary collapse

Methods inherited from ToRuby

#accept, create, #initialize, #visit_Psych_Nodes_Document, #visit_Psych_Nodes_Mapping, #visit_Psych_Nodes_Scalar, #visit_Psych_Nodes_Sequence, #visit_Psych_Nodes_Stream

Methods inherited from Visitor

#accept

Constructor Details

This class inherits a constructor from Psych::Visitors::ToRuby

Instance Method Details

#visit_Psych_Nodes_Alias(o) ⇒ Object

Raises:



384
385
386
# File 'lib/psych/visitors/to_ruby.rb', line 384

def visit_Psych_Nodes_Alias o
  raise BadAlias, "Unknown alias: #{o.anchor}"
end