On Wed, Dec 26, 2012 at 10:43 PM, Henry Maddocks <hmaddocks / me.com> wrote:

> PS. To answer your original question, I personally don't like hashed para=
ms because they hide the interface, but I occasionally use them because som=
etimes they 'feel' right. Looking back over my code it is usually when I ha=
ve a lot of default or optional params.

Using a Struct generated class might give a bit more type safety since
all possible keys are laid out explicitly.

Kind regards

robert

--
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/