mruby/mruby — pull request #1457 by suzukaze (2013-08-11 08:55:51+00:00)
Title: I implement super in aliased methods.

This test code super-in-aliased-method.rb:
```ruby
class Name

def name
return "super-name"
end

end

class Human < Name

def name
return "James-#{super}"
end

alias get_name name
# Or
#alias_method :get_name, :name
end

human = Human.new
puts "name:#{human.name}\n"
puts "get_name:#{human.get_name}\n"
```
Don't impelment super in aliased methods:
```
$ mruby super-in-aliased-method.rb
name:James-super-name
trace:
[1] super-in-aliased-method.rb:12:in Human.get_name
[0] super-in-aliased-method.rb:22
super-in-aliased-method.rb:12: undefined method 'get_name' for # (NoMethodError)
```
This issue is that super call get_name method of super class in aliased method.
Correctly super should call name method.

Impelment super in aliased methods:
```
$ mruby super-in-aliased-method.rb
name:James-super-name
get_name:James-super-name
```
super calls name method.