Hi,

In message "Re: defined? operator changed in ruby 1.9: bug or feature?"
    on Sat, 7 Apr 2007 08:28:25 +0900, "Rick DeNatale" <rick.denatale / gmail.com> writes:

|So even in 1.8, although the define? a=1 isn't performing the
|assignment, it IS defining the variable.
|
|Is this the way it should work?

Yes.  Assignments shall introduce new variables, no exception.  It's
like

  if false
    v = 5
  end

defines a variable v.

							matz.