If you actually wanted to just set the sound of the dog, and you don't really need a Dictionary, you can do:

myDog := Dog new sound: 'bark'

Or if you wanted to use the dictionary, same thing:

myDog := Dog new params: params.

But I don't really know what were you using that dictionary for and what was the intention (#params: is not a very nice name).

As Camillo said, (almost) everything is a message send, you just have to decide if you want a class message to create an 'initialized' dog all at once, or if using regular setters is enough.

Cheers!
Carla.

On Tue, Sep 11, 2012 at 3:53 PM, sergio_101 <sergio.rrd@gmail.com> wrote:
> Dog class>>newWithParams: aDictionary
> � �^self new params: aDictionary
>
> Dog>>params: aDictionary
> params := aDictionary
>
> Is that something similar to what you were looking for?
>

yes! this is very close to what i am looking to do.. this is kind of
where i figured it was going to go..

i was hoping it would be a one liner.. but i can live with this..