From: dale.quigg@... Date: 2006-12-01T08:45:05+09:00 Subject: Re: How to make "generic" YAML calls? dale.quigg@aspentech.com wrote: > 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. Found it, sorry to bother. yaml_vari = '["This"]["Thing"]' puts eval("LocalTree" + yaml_vari)