struct

Sthx::Tree::AttributeView

Inherits Enumerable < Struct < Value < Object

An enumerable view over the attributes of a Tree.

Constructors

new(data : TreeData)
Source

Instance methods

[]?(name : String) : Bytes | Nil

Returns a string view of the value of the attribute with the given name.

Source
each

Yields each attribute.

Source