Looking back at my paltry code, what I ended up doing was having a BUILD submethod that just listed all my attributes, private and public, and an empty block, essentially turning "bless" into "blessall". Which makes submethod BUILD looks like boilerplate, a magic invocation, repeated in my classes. Not very elegant looking. Not horrible, just not as good as it could be IMHO.
- Setting private attributes during object build yary
- Re: Setting private attributes during object build Jonathan Lang
- Re: Setting private attributes during object build Carl Mäsak
- Re: Setting private attributes during object build yary
- Re: Setting private attributes during object bu... Carl Mäsak
- Re: Setting private attributes during objec... yary
- Re: Setting private attributes during ... yary
- Re: Setting private attributes during objec... Moritz Lenz
- Re: Setting private attributes during object build Damian Conway
- Re: Setting private attributes during object build Moritz Lenz
- Re: Setting private attributes during object bu... Damian Conway
- Re: Setting private attributes during objec... Kris Shannon
- Re: Setting private attributes during objec... Moritz Lenz
- Re: Setting private attributes during ... Damian Conway
- Re: Setting private attributes dur... yary
- Re: Setting private attributes... yary
- Re: Setting private attributes... Damian Conway