Class: ActionDispatch::Request::Session

Inherits:
Object
  • Object
show all
Defined in:
lib/sidekiq/web.rb

Overview

mperham/sidekiq#2460 Rack apps can’t reuse the Rails session store without this monkeypatch

Instance Method Summary collapse

Instance Method Details

#each(&block) ⇒ Object



272
273
274
275
# File 'lib/sidekiq/web.rb', line 272

def each(&block)
  hash = self.to_hash
  hash.each(&block)
end