Issue #7055 has been updated by stomar (Marcus Stollsteimer).


=begin
I think that would decrease readability of the code quite a lot (even more so for the first suggestion) and I don't see ((*any*)) benefit. It's only four characters.
=end

----------------------------------------
Feature #7055: Allow `.foo=` as a synonym of `self.foo=`
https://bugs.ruby-lang.org/issues/7055#change-29801

Author: alexeymuranov (Alexey Muranov)
Status: Rejected
Priority: Normal
Assignee: 
Category: 
Target version: 


=begin
I propose to make the use of `self` in method calls optional:

  .foo = 'bar'

instead of

  self.foo = 'bar'

This only matters of course for assignment methods, to distinguish a method call from creating or setting a local variable.
=end



-- 
http://bugs.ruby-lang.org/