@Override public Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) { IRubyObject object = (IRubyObject) getTarget().retrieve(context, self, currScope, currDynScope, temp); VariableAccessor a = getAccessor(object); Object value = getValue().retrieve(context, self, currScope, currDynScope, temp); a.set(object, value); return null; }
@Override public Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) { IRubyObject object = (IRubyObject) getTarget().retrieve(context, self, currScope, currDynScope, temp); VariableAccessor a = getAccessor(object); Object value = getValue().retrieve(context, self, currScope, currDynScope, temp); a.set(object, value); return null; }