[Nitro] RES: (no subject)

Antoniolo antoniolo at gmail.com
Tue Mar 13 17:29:48 EDT 2007


Good!

Let me know what I did wrong so that next time I can make a better one.

-----Mensagem original-----
De: nitro-general-bounces at rubyforge.org
[mailto:nitro-general-bounces at rubyforge.org] Em nome de George Moschovitis
Enviada em: Tuesday, March 13, 2007 6:08 PM
Para: General discussion about Nitro
Assunto: Re: [Nitro] (no subject)

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
_______________________________________________
Nitro-general mailing list
Nitro-general at rubyforge.org
http://rubyforge.org/mailman/listinfo/nitro-general



More information about the Nitro-general mailing list