Class: LogoutPost

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

Instance Attribute Summary

Attributes inherited from WebPage

#css, #html, #js, #name

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.



340
341
342
# File 'lib/h2g_ajaxchat.rb', line 340

def initialize(h)
  @name = :logout_post
end

Instance Method Details

#sObject



344
345
346
347
348
# File 'lib/h2g_ajaxchat.rb', line 344

def s()

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

end

#to_sObject



350
351
352
# File 'lib/h2g_ajaxchat.rb', line 350

def to_s()
  @s
end