class

KDL::Builder

Inherits Reference < Object

Constructors

Instance methods

arg(value : Value::Type, *, type : String | Nil = nil, comment : String | Nil = nil)
Source
document(*, comment : String | Nil = nil, &)
Source
node(name : String, *, type : String | Nil = nil, comment : String | Nil = nil, &)
Source
node(name : String, *positional : Value::Type | Hash(String, Value::Type), type : String | Nil = nil, comment : String | Nil = nil)

Name and shorthand positional arguments + properties

Source
node(name : String, *, type : String | Nil = nil, comment : String | Nil = nil)

Node name only

Source
node(name : String, *positional : Value::Type | Hash(String, Value::Type), type : String | Nil = nil, comment : String | Nil = nil, **properties : Value::Type)

Name and shorthand positional arguments + properties with named tuple properties

Source
node(name : String, *, type : String | Nil = nil, comment : String | Nil = nil, **properties : Value::Type)

Name and named tuple properties

Source
prop(key : String | Symbol, value : Value::Type, *, type : String | Nil = nil, comment : String | Nil = nil)
Source

Nested types