# Class: ChatController

# ChatController

The Chat Menu controller.

# Public Instance Methods

### menu ()

Show source...

        # File bbs/lib/controllers/chat.rb, line 57
    57:   def menu
    58:     done = false
    59:     validkeys=['/G']
    60:     until done == true
    61:       key = Tgio::Input.menuprompt('menu_chat.ftl',validkeys, nil) # nil is for tpl vars hash
    62:       print "\n"
    63:       case key
    64:         when "/G"
    65:           puts "Goodbye!"
    66:           done = true
    67:           return 0
    68:       end #/case
    69:     end #/until
    70:   end