This variable access in ruby shouldn’t work, or should it?

Ok this is weird, and seems kind of dangerous.

In my opinion there should be an error thrown when I access, a local variable and it is undefined, it should not be passed to the instance and the similar named variable from the instance is passed back. Esspecially when using initializations like the following.

A long discussion showed this is really something to think about wether it’s a bug or a feature…