private IRubyObject initialize20(IRubyObject object, IRubyObject method, IRubyObject[] methodArgs, IRubyObject size) { this.object = object; this.method = method.asJavaString(); this.methodArgs = methodArgs; this.size = size; setInstanceVariable("@__object__", object); setInstanceVariable("@__method__", method); setInstanceVariable("@__args__", RubyArray.newArrayNoCopyLight(getRuntime(), methodArgs)); return this; }
private IRubyObject initialize(Ruby runtime, IRubyObject object, IRubyObject method, IRubyObject[] methodArgs, IRubyObject size, SizeFn sizeFn) { this.object = object; this.method = method.asJavaString(); this.methodArgs = methodArgs; this.size = size; this.sizeFn = sizeFn; this.feedValue = runtime.getNil(); setInstanceVariable("@__object__", object); setInstanceVariable("@__method__", method); setInstanceVariable("@__args__", RubyArray.newArrayMayCopy(runtime, methodArgs)); return this; }
private IRubyObject initialize(Ruby runtime, IRubyObject object, IRubyObject method, IRubyObject[] methodArgs, IRubyObject size, SizeFn sizeFn) { this.object = object; this.method = method.asJavaString(); this.methodArgs = methodArgs; this.size = size; this.sizeFn = sizeFn; this.feedValue = runtime.getNil(); setInstanceVariable("@__object__", object); setInstanceVariable("@__method__", method); setInstanceVariable("@__args__", RubyArray.newArrayMayCopy(runtime, methodArgs)); return this; }
private IRubyObject initialize(IRubyObject object, IRubyObject method, IRubyObject[] methodArgs) { this.object = object; this.method = method.asJavaString(); this.methodArgs = methodArgs; setInstanceVariable("@__object__", object); setInstanceVariable("@__method__", method); setInstanceVariable("@__args__", RubyArray.newArrayNoCopyLight(getRuntime(), methodArgs)); return this; }
private IRubyObject initialize(IRubyObject object, IRubyObject method, IRubyObject[] methodArgs) { this.object = object; this.method = method.asJavaString(); this.methodArgs = methodArgs; setInstanceVariable("@__object__", object); setInstanceVariable("@__method__", method); setInstanceVariable("@__args__", RubyArray.newArrayNoCopyLight(getRuntime(), methodArgs)); return this; }
private IRubyObject initialize20(IRubyObject object, IRubyObject method, IRubyObject[] methodArgs, IRubyObject size) { this.object = object; this.method = method.asJavaString(); this.methodArgs = methodArgs; this.size = size; setInstanceVariable("@__object__", object); setInstanceVariable("@__method__", method); setInstanceVariable("@__args__", RubyArray.newArrayNoCopyLight(getRuntime(), methodArgs)); return this; }