class

TOML::Value

Inherits Reference < Object

Typed TOML value. Every concrete value remembers its original raw source text so the serializer can re-emit it byte-for-byte for unmodified documents.

Concrete subclasses expose the decoded value through a typed accessor (StringValue#decoded, IntegerValue#int_value, …).

Constructors

new(raw : String)
Source

Instance methods

to_toml(io : IO) : Nil
Source