Class: Psych::Pure::Emitter::SetNode

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

Overview

Represents a Psych::Set 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.



4174
4175
4176
# File 'lib/psych/pure.rb', line 4174

def anchor
  @anchor
end

Instance Method Details

#accept(visitor) ⇒ Object



4176
4177
4178
# File 'lib/psych/pure.rb', line 4176

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