Class: LogoutPost

Inherits:
WebPage show all
Defined in:
lib/h2g_ajaxchat.rb

Instance Attribute Summary

Attributes inherited from WebPage

#css, #html, #js, #s

Instance Method Summary collapse

Methods inherited from WebPage

#to_css, #to_html, #to_js

Constructor Details

#initialize(h) ⇒ LogoutPost

Returns a new instance of LogoutPost.



321
322
323
# File 'lib/h2g_ajaxchat.rb', line 321

def initialize(h)
  @name = :logout_post
end

Instance Method Details

#to_sObject



325
326
327
328
329
# File 'lib/h2g_ajaxchat.rb', line 325

def to_s()

  @s ||= 'You have successfully logged out'

end