Public Instance methods
clear_session()
Clear data from the session, and update the request environment so that the session cookie will use a new creation timestamp instead of the previous creation timestamp.
[show source]
# File lib/roda/plugins/sessions.rb 261 def clear_session 262 session.clear 263 env.delete('roda.session.created_at') 264 env.delete('roda.session.updated_at') 265 nil 266 end