From: "Eregon (Benoit Daloze)" Date: 2012-09-23T20:06:12+09:00 Subject: [ruby-core:47658] [ruby-trunk - Feature #7055] Allow `.foo=` as a synonym of `self.foo=` Issue #7055 has been updated by Eregon (Benoit Daloze). It would collide with existing notation: h = {} .default = 3 p h # => 3 A dot beginning a line in 1.9 uses the previous statement as a receiver. ---------------------------------------- Feature #7055: Allow `.foo=` as a synonym of `self.foo=` https://bugs.ruby-lang.org/issues/7055#change-29682 Author: alexeymuranov (Alexey Muranov) Status: Open 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/