End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
CGI::Session::PStore#restore
restore
lib/cgi/session/pstore.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/cgi/session/pstore.rb, line 58
def restore
unless @hash
@p.transaction do
@hash = @p['hash'] || {}
end
end
@hash
end
Restore session state from the session’s PStore file.
Returns the session state as a hash.