Hi,

I have a Test.Yaml file like;
This:
  Thing: Foo
That:
  Thing: Bar

My program works with this code;
  require 'yaml'
  LocalTree = YAML.load_file("test.yaml")
  puts LocalTree["This"]["Thing"]
  puts LocalTree["That"]["Thing"]

However, I want to write a class where I pass something like
  '["This"]["Thing"]'
or
  '["That"]["Thing"]'
and then make a call like;
  puts LocalTree@YamlLocation
but I can't figure out how to make this work.

Any hints/tips appreciated.

Thanks,
Dale