If you only had YAML::Node pointing to, for example, that "b" node, is there any way to get "b" back as a string from it? I know you could get it if you had the root node, but it would simplify things if there was a name method or similar on the node itself.
Let's say you have something like this:
If you only had YAML::Node pointing to, for example, that "b" node, is there any way to get "b" back as a string from it? I know you could get it if you had the root node, but it would simplify things if there was a name method or similar on the node itself.