Skip to content

Commit

Permalink
Showing 1 changed file with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -52,53 +52,53 @@ public AliasMethod(RubyModule implementationClass, DynamicMethod oldMethod, Stri
}

@Override
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name) {
return oldMethod.call(context, self, klazz, oldName);
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String unused) {
return oldMethod.call(context, self, klazz, name);
}

@Override
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject arg) {
return oldMethod.call(context, self, klazz, oldName, arg);
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String unused, IRubyObject arg) {
return oldMethod.call(context, self, klazz, name, arg);
}

@Override
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject arg1, IRubyObject arg2) {
return oldMethod.call(context, self, klazz, oldName, arg1, arg2);
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String unused, IRubyObject arg1, IRubyObject arg2) {
return oldMethod.call(context, self, klazz, name, arg1, arg2);
}

@Override
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) {
return oldMethod.call(context, self, klazz, oldName, arg1, arg2, arg3);
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String unused, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) {
return oldMethod.call(context, self, klazz, name, arg1, arg2, arg3);
}

@Override
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject[] args) {
return oldMethod.call(context, self, klazz, oldName, args);
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String unused, IRubyObject[] args) {
return oldMethod.call(context, self, klazz, name, args);
}

@Override
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, Block block) {
return oldMethod.call(context, self, klazz, oldName, block);
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String unused, Block block) {
return oldMethod.call(context, self, klazz, name, block);
}

@Override
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject arg1, Block block) {
return oldMethod.call(context, self, klazz, oldName, arg1, block);
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String unused, IRubyObject arg1, Block block) {
return oldMethod.call(context, self, klazz, name, arg1, block);
}

@Override
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject arg1, IRubyObject arg2, Block block) {
return oldMethod.call(context, self, klazz, oldName, arg1, arg2, block);
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String unused, IRubyObject arg1, IRubyObject arg2, Block block) {
return oldMethod.call(context, self, klazz, name, arg1, arg2, block);
}

@Override
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, Block block) {
return oldMethod.call(context, self, klazz, oldName, arg1, arg2, arg3, block);
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String unused, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, Block block) {
return oldMethod.call(context, self, klazz, name, arg1, arg2, arg3, block);
}

@Override
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject[] args, Block block) {
return oldMethod.call(context, self, klazz, oldName, args, block);
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String unused, IRubyObject[] args, Block block) {
return oldMethod.call(context, self, klazz, name, args, block);
}

public DynamicMethod dup() {

0 comments on commit 5cdbe74

Please sign in to comment.