Gregory Brown wrote: > Anyway, here's a better way to solve the problem that probably > addresses your concerns: > > def name(*args) > return @name if args.empty? > @name = args.first > end Another way to do this is to use some kind of singleton object Nothing = Object.new def name(value = Nothing) @name = value unless value == Nothing @name end