Actions
Bug #4058
closed__method__ does not return correct method name for aliased methods
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
Backport:
Description
=begin
class Test
def my_method
method
end
alias_method :my_alias, :my_method
end
Hello.new.my_method #=> :my_method
Hello.new.my_alias #=> :my_method
I think that Hello.new.my_alias
should instead return :my_alias
=end
Actions
Like0
Like0Like0Like0Like0