From: Kent Dahl Date: 2002-09-17T01:51:25+09:00 Subject: Re: private variables Christoph wrote: > or being my repetitive self > > _@x > > This probably breaks no (non-obfuscating) existing > code and is quite distinct from regular instance (and > local) variables. What, you mean we can't use a single _ as a method name now? def _(var) puts "Var is #{var}" end @x = nil _@x = 5 #=> Var is 5 puts @x #=> 5 Why this works at all beats me :-) -- (\[ Kent Dahl ]/)_ _~_ __[ http://www.stud.ntnu.no/~kentda/ ]___/~ ))\_student_/(( \__d L b__/ NTNU - graduate engineering - 5. year ) ( \__\_�|�_/__/ ) _)Industrial economics and technological management( \____/_�_\____/ (____engineering.discipline_=_Computer::Technology___)