Class: AjaxChatPlugin
- Inherits:
-
Object
- Object
- AjaxChatPlugin
- Defined in:
- lib/h2g_ajaxchat.rb
Instance Method Summary collapse
-
#apply(ac) ⇒ Object
Customises the ajax chat html etc; ac = ajaxchat object.
-
#initialize(settings = {}) ⇒ AjaxChatPlugin
constructor
A new instance of AjaxChatPlugin.
-
#messages ⇒ Object
messages from the plugin to be added to the chat timeline.
-
#on_newmessage(*a) ⇒ Object
messages from the chat timeline.
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 |
#messages ⇒ Object
messages from the plugin to be added to the chat timeline
37 38 39 |
# File 'lib/h2g_ajaxchat.rb', line 37 def () [] end |
#on_newmessage(*a) ⇒ Object
messages from the chat timeline
43 44 |
# File 'lib/h2g_ajaxchat.rb', line 43 def (*a) end |