[QUIZ] Hash to OpenStruct (#81)

No, and I don't care, because in the real world people don't randomly
parse recursive config files.

KYFD.

Regards,

Dan

This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.

···

-----Original Message-----
From: MenTaLguY [mailto:mental@rydia.net]
Sent: Friday, June 02, 2006 2:00 PM
To: ruby-talk ML
Subject: Re: [QUIZ] Hash to OpenStruct (#81)

On Sat, 3 Jun 2006 03:31:05 +0900, "Jacob Fugal" > <lukfugl@gmail.com> wrote:
> Ok, I cheated... Hans pointed me at the rubyquiz site before this
> showed up in the list, so I got a head start. But in only
15 minutes,
> I've got it solved, with only 18 lines (only 5 of those are
in method
> bodies), sans whitespace. Golfers... go!

Hold on. Golfers, can your solutions handle ... this?

---
&verily
lemurs:
  unite: *verily
  beneath:
    - patagonian
    - bread
    - products
thusly: [1, 2, 3, 4]

Well, just consider it an extra challenge for the folks with extra time who got bored with the original problem, as an alternative to golfing it into the ground. (Though if you'd rather golf that's great too.)

-mental

···

On Sat, 3 Jun 2006 06:25:13 +0900, "Berger, Daniel" <Daniel.Berger@qwest.com> wrote:

No, and I don't care, because in the real world people don't randomly
parse recursive config files.

KYFD? Sorry, google and wikipedia are drawing blanks on that one...
-Mat

···

On Jun 2, 2006, at 5:25 PM, Berger, Daniel wrote:

KYFD.