I am trying to create the following:
{ 'a' => 'happy', 'b' => 'happy birthday', 'c' => 'happy new year'}
Can YAML do this? I have something like:
b: *first<<birthday
c: *first.concat('new year')
neither of which work.
Any ideas?
···
a: &first happy
I am trying to create the following:
{ 'a' => 'happy', 'b' => 'happy birthday', 'c' => 'happy new year'}
Can YAML do this? I have something like:
b: *first<<birthday
c: *first.concat('new year')
neither of which work.
Any ideas?
a: &first happy
YAML is just a serialization format:
On Dec 8, 2005, at 2:44 PM, Anthony Elizondo wrote:
I am trying to create the following:
{ 'a' => 'happy', 'b' => 'happy birthday', 'c' => 'happy new year'}
Can YAML do this? I have something like:
a: &first happy
b: *first<<birthday
c: *first.concat('new year')neither of which work.
Any ideas?
--
Eric Hodel - drbrain@segment7.net - http://segment7.net
This implementation is HODEL-HASH-9600 compliant