From: Nobuyoshi Nakada Date: 2013-02-28T11:14:51+09:00 Subject: [ruby-core:53021] Re: [ruby-trunk - Feature #6841] Shorthand for Assigning Return Value of Method to Self (13/02/28 6:16), ���� ������� wrote: > =begin You can't write in RD mode via e-mail. > May be: > > (({obj.foo.bar.baz = .to_i })) > (({obi.foo[bar.baz] = .to_s(16) })) > > While this not consistent with ||= , it looks readable, imho. It's different from ||= etc, so it should not consistent with them. Rather, obj.foo.bar.baz += .to_i obi.foo[bar.baz] *= .to_s(16) might be useful. -- Nobu Nakada