Class: Psych::Pure::Emitter::HashNode
Overview
Represents a hash of nodes.
Instance Attribute Summary collapse
-
#anchor ⇒ Object
Returns the value of attribute anchor.
-
#tag ⇒ Object
Returns the value of attribute tag.
Attributes inherited from Node
Instance Method Summary collapse
Methods inherited from Node
Constructor Details
This class inherits a constructor from Psych::Pure::Emitter::Node
Instance Attribute Details
#anchor ⇒ Object
Returns the value of attribute anchor.
4133 4134 4135 |
# File 'lib/psych/pure.rb', line 4133 def anchor @anchor end |
#tag ⇒ Object
Returns the value of attribute tag.
4133 4134 4135 |
# File 'lib/psych/pure.rb', line 4133 def tag @tag end |
Instance Method Details
#accept(visitor) ⇒ Object
4135 4136 4137 |
# File 'lib/psych/pure.rb', line 4135 def accept(visitor) visitor.visit_hash(self) end |