Thanks a lot Shlomi,
> lazy => 1,
> );
> }}}
>
> Causes the output to be "A" and no exception thrown. The problem is that the
> "argument_values" slot was used while still being uninitialised.
I tried out the sample and it works. I'm gonna plug it back to my
project and see how it goes!
--
R
On Wednesday 22 September 2010 13:43:02 C K Kashyap wrote:
> Hi,
> I have a requirement for which I think Traits will be a solution.
>
> I have a class - MyClass that the users subclass to use it. The users
> add attributes to the subclass, some of which need a default value to
> be picked up from
Hi,
I have a requirement for which I think Traits will be a solution.
I have a class - MyClass that the users subclass to use it. The users
add attributes to the subclass, some of which need a default value to
be picked up from a config file.
So, I want to allow the users to indicate that the defa