class Logout

Public Class Methods

new(h={}) click to toggle source
# File lib/h2g_ajaxchat.rb, line 335
def initialize(h={})

end

Public Instance Methods

html() click to toggle source
# File lib/h2g_ajaxchat.rb, line 339
def html()

  @html ||= '
      <div id="logoutform">
      <form action="logout" method="post">
              <p>Are you sure you want to logout?</p>
              <input type="submit" name="enter" id="enter" value="Yes" />
      </form>
      <a href="index">no, return to the chat page</a>
      </div>
      '

end