]> git.eshelyaron.com Git - emacs.git/commit
ruby-mode: Support endless singleton method definitions too
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 19 Dec 2022 00:21:51 +0000 (02:21 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 19 Dec 2022 00:22:53 +0000 (02:22 +0200)
commit9a751e0a38bb53c269efa034d089aaab821c2662
treeca47cce18a529bc430d5f740e05e6d2cf58caeb9
parentce7b7e5af3ddb2863c0c4f6f7c91d1b6c205f1a0
ruby-mode: Support endless singleton method definitions too

* lisp/progmodes/ruby-mode.el (ruby-endless-method-head-re):
Update to match not only 'self.' but 'xyz.' as well (bug#54702).

* test/lisp/progmodes/ruby-mode-resources/ruby.rb (Bar#foo=):
Update example.
lisp/progmodes/ruby-mode.el
test/lisp/progmodes/ruby-mode-resources/ruby.rb