From: Charles Comstock Date: 2004-04-14T09:24:14+09:00 Subject: Interesting Scoping Rules val = "fem" class Test puts val end # or class Test val = "A" def info puts val end end Test.new.info # or val = 1 def t puts val end t Why is it none of these are allowed? All of these seem like perfectly logical places that lexical scoping would allow. It really suprised me that none of thse work, anyone have an explanation for this behavior? Charles Comstock