Class: Psych::Pure::Emitter::ArrayNode

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

Overview

Represents an array of nodes.

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.



4124
4125
4126
# File 'lib/psych/pure.rb', line 4124

def anchor
  @anchor
end

#dirtyObject

Returns the value of attribute dirty.



4124
4125
4126
# File 'lib/psych/pure.rb', line 4124

def dirty
  @dirty
end

#tagObject

Returns the value of attribute tag.



4124
4125
4126
# File 'lib/psych/pure.rb', line 4124

def tag
  @tag
end

Instance Method Details

#accept(visitor) ⇒ Object



4126
4127
4128
# File 'lib/psych/pure.rb', line 4126

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