Method: Rinda::SimpleRenewer#initialize
- Defined in:
- lib/rinda/rinda.rb
#initialize(sec = 180) ⇒ SimpleRenewer
Creates a new SimpleRenewer that keeps an object alive for another sec
seconds.
316 317 318 |
# File 'lib/rinda/rinda.rb', line 316 def initialize(sec=180) @sec = sec end |