Top Level Namespace

Includes:
XSD::CodeGen

Defined Under Namespace

Modules: Kernel, SOAP, WEBrick, WSDL, XSD Classes: Object, Warning

Constant Summary collapse

SOAPMarshal =
SOAP::Marshal
FixnumShim =

in 2.4, 2.5 Fixnum/Bignum aliased to 'Integer'

1.class
FIXNUM_PRESENT =
FixnumShim.name == 'Fixnum'
BignumShim =
(10**20).class
BIGNUM_PRESENT =
BignumShim.name == 'Bignum'
DATA_PRESENT =
defined?(Data)
DataShim =

DataShim must always be a defined class, since it's referenced unconditionally in a case/when below. Ruby's old C-extension Data class was removed in 3.1, then Ruby 3.2 introduced an unrelated Data.define -- so DATA_PRESENT is false only on the 3.1.x line. Fall back to an anonymous class nothing will ever be an instance of, so the when comparison is always valid but never matches.

DATA_PRESENT ? Kernel.const_get('Data') : Class.new

Constants included from XSD::CodeGen

XSD::CodeGen::CONSTANTS, XSD::CodeGen::KEYWORDS