Top Level Namespace
| Relationships & Source Files | |
| Namespace Children | |
|
Classes:
| |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Instance Chain:
self,
::Redis::LibIdentity
|
Constant Summary
-
INVALID_CHARS =
# File 'lib/redis/lib_identity.rb', line 40
CLIENT SETINFOvalues must be printable ASCII with no spaces — the server rejects anything else, andredis-clientswallows that error, which would silently leavelib-nameempty. Parentheses are excluded as well: they delimit the suffix inlib-name=redis-rb(<suffix>), so a suffix containing them would corrupt the reported name./(?:[^!-~]|[()])+/ -
LIB_NAME =
# File 'lib/redis/lib_identity.rb', line 30"redis-rb" -
MARKER =
# File 'lib/redis/lib_identity.rb', line 29
Follows the official suffix convention, so that the transient pair
redis-clientitself builds from this value (lib-name=redis-client(redis-rb_v<version>)) is well-formed too."redis-rb_v" -
OWN_INFO =
# File 'lib/redis/lib_identity.rb', line 34
Interpolated strings are not frozen by the magic comment; explicit freezes keep these constants Ractor-shareable (lazy module ivars here would raise Ractor::IsolationError).
"#{MARKER}#{Redis::VERSION}".freeze
-
OWN_PREFIX =
# File 'lib/redis/lib_identity.rb', line 35"#{OWN_INFO}#{SEPARATOR}".freeze
-
SEPARATOR =
# File 'lib/redis/lib_identity.rb', line 31";"