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