Hi,
In message "[ruby-talk:02417] String expansion of class variables"
on 00/04/09, Dave Thomas <Dave / thomases.com> writes:
|You can expand global and instance variables in strings without the
|braces:
|
| "instance #@inst, global #$global"
|
|However, you cannot expand class variables:
|
| "class #@@cls"
|
|==>
|
| -:1: compile error in string expansion (SyntaxError)
|
|The attached patch seems fairly benign.
Thank you. I applied this patch and committed 2000-04-10.
matz.