@@ -52,53 +52,53 @@ public AliasMethod(RubyModule implementationClass, DynamicMethod oldMethod, Stri
52
52
}
53
53
54
54
@ Override
55
- public IRubyObject call (ThreadContext context , IRubyObject self , RubyModule klazz , String name ) {
56
- return oldMethod .call (context , self , klazz , oldName );
55
+ public IRubyObject call (ThreadContext context , IRubyObject self , RubyModule klazz , String unused ) {
56
+ return oldMethod .call (context , self , klazz , name );
57
57
}
58
58
59
59
@ Override
60
- public IRubyObject call (ThreadContext context , IRubyObject self , RubyModule klazz , String name , IRubyObject arg ) {
61
- return oldMethod .call (context , self , klazz , oldName , arg );
60
+ public IRubyObject call (ThreadContext context , IRubyObject self , RubyModule klazz , String unused , IRubyObject arg ) {
61
+ return oldMethod .call (context , self , klazz , name , arg );
62
62
}
63
63
64
64
@ Override
65
- public IRubyObject call (ThreadContext context , IRubyObject self , RubyModule klazz , String name , IRubyObject arg1 , IRubyObject arg2 ) {
66
- return oldMethod .call (context , self , klazz , oldName , arg1 , arg2 );
65
+ public IRubyObject call (ThreadContext context , IRubyObject self , RubyModule klazz , String unused , IRubyObject arg1 , IRubyObject arg2 ) {
66
+ return oldMethod .call (context , self , klazz , name , arg1 , arg2 );
67
67
}
68
68
69
69
@ Override
70
- public IRubyObject call (ThreadContext context , IRubyObject self , RubyModule klazz , String name , IRubyObject arg1 , IRubyObject arg2 , IRubyObject arg3 ) {
71
- return oldMethod .call (context , self , klazz , oldName , arg1 , arg2 , arg3 );
70
+ public IRubyObject call (ThreadContext context , IRubyObject self , RubyModule klazz , String unused , IRubyObject arg1 , IRubyObject arg2 , IRubyObject arg3 ) {
71
+ return oldMethod .call (context , self , klazz , name , arg1 , arg2 , arg3 );
72
72
}
73
73
74
74
@ Override
75
- public IRubyObject call (ThreadContext context , IRubyObject self , RubyModule klazz , String name , IRubyObject [] args ) {
76
- return oldMethod .call (context , self , klazz , oldName , args );
75
+ public IRubyObject call (ThreadContext context , IRubyObject self , RubyModule klazz , String unused , IRubyObject [] args ) {
76
+ return oldMethod .call (context , self , klazz , name , args );
77
77
}
78
78
79
79
@ Override
80
- public IRubyObject call (ThreadContext context , IRubyObject self , RubyModule klazz , String name , Block block ) {
81
- return oldMethod .call (context , self , klazz , oldName , block );
80
+ public IRubyObject call (ThreadContext context , IRubyObject self , RubyModule klazz , String unused , Block block ) {
81
+ return oldMethod .call (context , self , klazz , name , block );
82
82
}
83
83
84
84
@ Override
85
- public IRubyObject call (ThreadContext context , IRubyObject self , RubyModule klazz , String name , IRubyObject arg1 , Block block ) {
86
- return oldMethod .call (context , self , klazz , oldName , arg1 , block );
85
+ public IRubyObject call (ThreadContext context , IRubyObject self , RubyModule klazz , String unused , IRubyObject arg1 , Block block ) {
86
+ return oldMethod .call (context , self , klazz , name , arg1 , block );
87
87
}
88
88
89
89
@ Override
90
- public IRubyObject call (ThreadContext context , IRubyObject self , RubyModule klazz , String name , IRubyObject arg1 , IRubyObject arg2 , Block block ) {
91
- return oldMethod .call (context , self , klazz , oldName , arg1 , arg2 , block );
90
+ public IRubyObject call (ThreadContext context , IRubyObject self , RubyModule klazz , String unused , IRubyObject arg1 , IRubyObject arg2 , Block block ) {
91
+ return oldMethod .call (context , self , klazz , name , arg1 , arg2 , block );
92
92
}
93
93
94
94
@ Override
95
- public IRubyObject call (ThreadContext context , IRubyObject self , RubyModule klazz , String name , IRubyObject arg1 , IRubyObject arg2 , IRubyObject arg3 , Block block ) {
96
- return oldMethod .call (context , self , klazz , oldName , arg1 , arg2 , arg3 , block );
95
+ public IRubyObject call (ThreadContext context , IRubyObject self , RubyModule klazz , String unused , IRubyObject arg1 , IRubyObject arg2 , IRubyObject arg3 , Block block ) {
96
+ return oldMethod .call (context , self , klazz , name , arg1 , arg2 , arg3 , block );
97
97
}
98
98
99
99
@ Override
100
- public IRubyObject call (ThreadContext context , IRubyObject self , RubyModule klazz , String name , IRubyObject [] args , Block block ) {
101
- return oldMethod .call (context , self , klazz , oldName , args , block );
100
+ public IRubyObject call (ThreadContext context , IRubyObject self , RubyModule klazz , String unused , IRubyObject [] args , Block block ) {
101
+ return oldMethod .call (context , self , klazz , name , args , block );
102
102
}
103
103
104
104
public DynamicMethod dup () {
0 commit comments