[Nitro] (no subject)

George Moschovitis george.moschovitis at gmail.com
Tue Mar 13 17:08:02 EDT 2007


Thanks for this patch, I will review and aply it.

btw, please use

attr_accessor instead of property... property is kind of deprecated.

-g.

On 3/13/07, Antoniolo <antoniolo at gmail.com> wrote:
> Thanks Judson for explaining that!
>
> Here's my first patch.
>
> Now you can do things like
>
> class Player
>   property :str, Fixnum #shortcut for strength
>   property :int, Fixnum #shortcut for intelligence, it used to result in
> error
> end
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>
>


-- 
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org


More information about the Nitro-general mailing list