From: Trans Date: 2005-01-26T23:25:47+09:00 Subject: Re: attr Sure, but it is occasionally useful, especially when creating classes that have many optional "initialization" parameters. Here's the traditional-styled version. I use "setter" for lack of a better word. # attr_setter :a # # _is equivalent to_ # # def a(*args) # if args.size > 0 # @a = args[0] # self # else # @a # end # end T.