does anyone else find it annoying that local variable assignment is
indistinguishable from a writter method.

  def localvar=(x)
    @localvar = x
  end

  plv = Proc.new { |x|
    localvar = x
  }

  plv.call('whatever')

the localvar writter method will not be called by the proc, rather a
local variable, local only to the proc itself, will be created. to
adjust, one has to prepend "self." to the beginning localvar:
"self.localvar"  yuk, code smell, as it is in contrast to the fact that
outside variables and all other methods can be seen without the use of
self from within the proc.

it's really too bad that there is not a syntatical distiction between
local variable assignment and writter methods. if would make things
cleaner, i believe. removing the need for a number of self references.
effectively, i think, this probably means that it is too bad that local
variable assignments don't have a differnt syntax for assignment. like:

 localvar := x

~transami

JUST MORE OF MY EVERYDAY CONTEMPLATIONS ABOUT PROGRAMMING IN RUBY