G
Ganesh Girase
I have one yaml file "content.yml" which has content,
---
key: !DBClass
debug: Y
Directory : /var/tmp
name: John
phone: 487394
As, I am trying to load the file via,
obj= YAML.load(File.open("content.yml"))
But i dont know that how to acess the individual variable from this
content.
for eg, How do i will get the Directory or name or phone ?
---
key: !DBClass
debug: Y
Directory : /var/tmp
name: John
phone: 487394
As, I am trying to load the file via,
obj= YAML.load(File.open("content.yml"))
But i dont know that how to acess the individual variable from this
content.
for eg, How do i will get the Directory or name or phone ?