Module: RedisClient::PIDCache
- Includes:
- CoreExt
- Defined in:
- lib/redis_client/pid_cache.rb
Defined Under Namespace
Modules: CoreExt
Class Attribute Summary collapse
-
.pid ⇒ Object
readonly
Returns the value of attribute pid.
Instance Attribute Summary collapse
-
#pid ⇒ Object
readonly
Returns the value of attribute pid.
Class Method Summary collapse
Methods included from CoreExt
Class Attribute Details
.pid ⇒ Object (readonly)
Returns the value of attribute pid.
10 11 12 |
# File 'lib/redis_client/pid_cache.rb', line 10 def pid @pid end |
Instance Attribute Details
#pid ⇒ Object (readonly)
Returns the value of attribute pid.
7 8 9 |
# File 'lib/redis_client/pid_cache.rb', line 7 def pid @pid end |
Class Method Details
.update! ⇒ Object
12 13 14 |
# File 'lib/redis_client/pid_cache.rb', line 12 def update! @pid = Process.pid end |