Class: AjaxChatPlugin

Inherits:
Object
  • Object
show all
Defined in:
lib/h2g_ajaxchat.rb

Instance Method Summary collapse

Constructor Details

#initialize(settings = {}) ⇒ AjaxChatPlugin

Returns a new instance of AjaxChatPlugin.



27
28
# File 'lib/h2g_ajaxchat.rb', line 27

def initialize(settings={})    
end

Instance Method Details

#apply(ac) ⇒ Object

Customises the ajax chat html etc; ac = ajaxchat object



32
33
# File 'lib/h2g_ajaxchat.rb', line 32

def apply(ac)
end

#messagesObject

messages from the plugin to be added to the chat timeline



37
38
39
# File 'lib/h2g_ajaxchat.rb', line 37

def messages()
  []
end

#on_newmessage(*a) ⇒ Object

messages from the chat timeline



43
44
# File 'lib/h2g_ajaxchat.rb', line 43

def on_newmessage(*a)
end