Class: Wee::Application::SessionCache
- Defined in:
- lib/wee/application.rb
Instance Method Summary collapse
Methods inherited from LRUCache
#delete, #delete_if, #each, #fetch, #has_key?, #initialize, #store
Constructor Details
This class inherits a constructor from Wee::LRUCache
Instance Method Details
#garbage_collect ⇒ Object
14 15 16 |
# File 'lib/wee/application.rb', line 14 def garbage_collect delete_if {|id, session| session.dead? } end |