app/lib/masquerade.rb
# Safe to call if not masquerading
Safe to call if not masquerading
Safe to call if not masquerading
def clear!
    raise Exceptions::EducatorNotAuthorized unless authorized?
    return unless is_masquerading?
    log_clear!
    @session.delete(@session_key)
    nil
  end
def clear! raise Exceptions :: EducatorNotAuthorized unless authorized? return unless is_masquerading? log_clear! @session . delete ( @session_key ) nil end
Safe to call if not masquerading
Safe to call if not masquerading