Class: Rinda::RingServer::Renewer
- Inherits:
-
Object
- Object
- Rinda::RingServer::Renewer
- Includes:
- DRbUndumped
- Defined in:
- lib/rinda/ring.rb
Overview
Special renewer for the RingServer to allow shutdown
Instance Attribute Summary collapse
-
#renew ⇒ Object
:nodoc:.
Instance Method Summary collapse
-
#initialize ⇒ Renewer
constructor
:nodoc:.
Constructor Details
#initialize ⇒ Renewer
:nodoc:
54 55 56 |
# File 'lib/rinda/ring.rb', line 54 def initialize # :nodoc: @renew = true end |
Instance Attribute Details
#renew ⇒ Object
:nodoc:
58 59 60 |
# File 'lib/rinda/ring.rb', line 58 def renew # :nodoc: @renew ? 1 : true end |