@CompilerDirectives.TruffleBoundary public void undefMethod(Node currentNode, String methodName) { final InternalMethod method = ModuleOperations.lookupMethod(rubyModuleObject, methodName); if (method == null) { throw new UnsupportedOperationException(); } else { undefMethod(currentNode, method); } }