D
don mc
Is there a succinct way in ruby to do a multiple level hash assignement?
I am more
used to perl, which you can do something like
$hp->{level1}->{level2} = 3
even if the first and second level had never existed below.
Any help would be appreciated.
Regards,
Don Mc
I am more
used to perl, which you can do something like
$hp->{level1}->{level2} = 3
even if the first and second level had never existed below.
Any help would be appreciated.
Regards,
Don Mc