Method: LibXML::XML.debug_entities

Defined in:
ext/libxml/ruby_xml.c

.debug_entitiesObject

Determine whether included-entity debugging is enabled. (Requires Libxml to be compiled with debugging support)



336
337
338
339
340
341
342
343
344
345
346
347
# File 'ext/libxml/ruby_xml.c', line 336

static VALUE rxml_debug_entities_get(VALUE klass)
{
#ifdef LIBXML_DEBUG_ENABLED
  if (xmlParserDebugEntities)
  return(Qtrue);
  else
  return(Qfalse);
#else
  rb_warn("libxml was compiled with debugging turned off");
  return (Qfalse);
#endif
}