Module: MultiXML::_Parser Private

Defined in:
sig/multi_xml.rbs

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Interface for parser modules

Instance Method Summary collapse

Instance Method Details

#parse(io) ⇒ MultiXML::xmlHash? #parse(io, namespaces:) ⇒ MultiXML::xmlHash?

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Overloads:

  • #parse(io) ⇒ MultiXML::xmlHash?

    Parameters:

    • io (IO, StringIO)

    Returns:

    • (MultiXML::xmlHash, nil)
  • #parse(io, namespaces:) ⇒ MultiXML::xmlHash?

    Parameters:

    • io (IO, StringIO)
    • namespaces: (Symbol)

    Returns:

    • (MultiXML::xmlHash, nil)


24
25
# File 'sig/multi_xml.rbs', line 24

def parse: ((IO | StringIO) io) -> MultiXML::xmlHash?
| ((IO | StringIO) io, ?namespaces: Symbol) -> MultiXML::xmlHash?

#parse_errorsingleton(Exception)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (singleton(Exception))


26
# File 'sig/multi_xml.rbs', line 26

def parse_error: () -> singleton(Exception)