@Override public Object retrieve(ThreadContext context, IRubyObject self, DynamicScope currDynScope, Object[] temp) { IRubyObject v1 = (IRubyObject)a1.retrieve(context, self, currDynScope, temp); IRubyObject v2 = (IRubyObject)a2.retrieve(context, self, currDynScope, temp); return isArgsPush ? Helpers.argsPush((RubyArray) v1, v2) : Helpers.argsCat(v1, v2); }
@Override public Object retrieve(ThreadContext context, IRubyObject self, DynamicScope currDynScope, Object[] temp) { IRubyObject v1 = (IRubyObject)a1.retrieve(context, self, currDynScope, temp); IRubyObject v2 = (IRubyObject)a2.retrieve(context, self, currDynScope, temp); return isArgsPush ? Helpers.argsPush((RubyArray) v1, v2) : Helpers.argsCat(v1, v2); }
@Override public Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) { IRubyObject v1 = (IRubyObject)getAppendingArg().retrieve(context, self, currScope, currDynScope, temp); IRubyObject v2 = (IRubyObject)getAppendedArg().retrieve(context, self, currScope, currDynScope, temp); return isArgsPush ? Helpers.argsPush(v1, v2) : Helpers.argsCat(context, v1, v2); }
@Override public Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) { IRubyObject v1 = (IRubyObject)getAppendingArg().retrieve(context, self, currScope, currDynScope, temp); IRubyObject v2 = (IRubyObject)getAppendedArg().retrieve(context, self, currScope, currDynScope, temp); return isArgsPush ? Helpers.argsPush(v1, v2) : Helpers.argsCat(context, v1, v2); }