From: "rkh (Konstantin Haase)" Date: 2013-09-24T21:34:53+09:00 Subject: [ruby-core:57349] [CommonRuby - Feature #8947][Open] make alias, alias_method, attr_* return name of the alias Issue #8947 has been reported by rkh (Konstantin Haase). ---------------------------------------- Feature #8947: make alias, alias_method, attr_* return name of the alias https://bugs.ruby-lang.org/issues/8947 Author: rkh (Konstantin Haase) Status: Open Priority: Normal Assignee: Category: Target version: Now that def returns the method name, it would be handy to have alias/alias_method return the name of the alias: class Foo private def foo() end protected alias_method :bar, :foo end Same goes for the attr_* methods: class Foo private attr_accessor :foo, :bar end What do you think? -- http://bugs.ruby-lang.org/