Class: LogoutPost
Instance Attribute Summary
Attributes inherited from WebPage
Instance Method Summary collapse
-
#initialize(h) ⇒ LogoutPost
constructor
A new instance of LogoutPost.
- #to_s ⇒ Object
Methods inherited from WebPage
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_s ⇒ Object
325 326 327 328 329 |
# File 'lib/h2g_ajaxchat.rb', line 325 def to_s() @s ||= 'You have successfully logged out' end |