Module: UUIDTools

Defined in:
lib/uuidtools.rb,
lib/uuidtools/version.rb

Defined Under Namespace

Modules: VERSION Classes: UUID

Constant Summary collapse

UUID_REGEXP =

Constant Regexp that matches a UUID and captures its components.

Regexp.new("^([0-9a-f]{8})-([0-9a-f]{4})-([0-9a-f]{4})-" +
"([0-9a-f]{2})([0-9a-f]{2})-([0-9a-f]{12})$")
UUID_DNS_NAMESPACE =

Constant that represents the DNS namespace.

UUID.parse("6ba7b810-9dad-11d1-80b4-00c04fd430c8")
UUID_URL_NAMESPACE =

Constant that represents the URL namespace.

UUID.parse("6ba7b811-9dad-11d1-80b4-00c04fd430c8")
UUID_OID_NAMESPACE =

Constant that represents the OID namespace.

UUID.parse("6ba7b812-9dad-11d1-80b4-00c04fd430c8")
UUID_X500_NAMESPACE =

Constant that represents the X500 namespace.

UUID.parse("6ba7b814-9dad-11d1-80b4-00c04fd430c8")