From: "stomar (Marcus Stollsteimer)" Date: 2012-09-30T23:40:08+09:00 Subject: [ruby-core:47756] [ruby-trunk - Feature #7055] Allow `.foo=` as a synonym of `self.foo=` Issue #7055 has been updated by stomar (Marcus Stollsteimer). =begin A single dot is very unobtrusive. So I just think that `.foo` and `foo` resp. `@.foo` and `@foo` would look too similar to be easily distinguished, especially when browsing through larger pieces of code. =end =end ---------------------------------------- Feature #7055: Allow `.foo=` as a synonym of `self.foo=` https://bugs.ruby-lang.org/issues/7055#change-29812 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/