16
15
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg) {
18
field.set(null, JavaUtil.convertArgumentToType(context, arg, field.getType()));
19
18
} catch (IllegalAccessException iae) {
20
19
throw context.getRuntime().newTypeError("illegal access setting variable: " + iae.getMessage());