Class: Psych::Pure::Emitter::OmapNode

Inherits:
Node
  • Object
show all
Defined in:
lib/psych/pure.rb

Overview

Represents a Psych::Omap object.

Instance Attribute Summary collapse

Attributes inherited from Node

#psych_node, #value

Instance Method Summary collapse

Methods inherited from Node

#initialize

Constructor Details

This class inherits a constructor from Psych::Pure::Emitter::Node

Instance Attribute Details

#anchorObject

Returns the value of attribute anchor.



4165
4166
4167
# File 'lib/psych/pure.rb', line 4165

def anchor
  @anchor
end

Instance Method Details

#accept(visitor) ⇒ Object



4167
4168
4169
# File 'lib/psych/pure.rb', line 4167

def accept(visitor)
  visitor.visit_omap(self)
end