UCL::Value
A thin wrapper around a Hash(String, Type), and the namespace for the
Type union returned by the public API.
Value behaves like a string-keyed hash (#[], #[]?, #[]=, #each,
#delete) and can be serialized with #to_json / #to_yaml.
NOTE: this is a struct wrapping a Hash (a reference). Copying a Value
shares the same underlying hash, so mutations are visible through every
copy — treat it as a handle, not a value type.
Constructors
Instance methods
delete(*args, **options)
Sourcedelete(*args, **options, &)
Sourceeach(*args, **options)
Sourceeach(*args, **options, &)
Sourceto_h(*args, **options)
Sourceto_h(*args, **options, &)
Sourceto_json(*args, **options)
Sourceto_json(*args, **options, &)
SourceSerializes the underlying hash to UCL/JSON/YAML/MsgPack. See UCL.dump.
to_yaml(*args, **options)
Sourceto_yaml(*args, **options, &)
Source