El Martes, 12 de Enero de 2010, BlueHandTalking escribi
> If you have a class 'Thing'
> 
> does name of instance variable have to be:
> 
> @thing = Thing.new
> 
> or is
> 
> @widget = Thing.new
> 
> O.k. to use?


local_aaa    = Thing.new
CONSTANT_BBB = Thing.new
$global_ccc  = Thing.new
_a_n_y_      = Thing.new
@attribute_1 = Thing.new
@@class_var2 = Thing.new


*any* is valid, so any kind of attribute name is also valid.

Again I think you ask this because Rails conventions. If so remember please 
that this is a Ruby maillist, and Rails rules/conventions are not a must here.



-- 
Iki Baz Castillo <ibc / aliax.net>