Class: WebPage

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

Direct Known Subclasses

Index, Login, Logout, LogoutPost

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, h = {}) ⇒ WebPage

Returns a new instance of WebPage.



143
144
145
# File 'lib/h2g_ajaxchat.rb', line 143

def initialize(name, h={} )
  @h, @name = h, name
end

Instance Attribute Details

#cssObject

Returns the value of attribute css.



141
142
143
# File 'lib/h2g_ajaxchat.rb', line 141

def css
  @css
end

#htmlObject

Returns the value of attribute html.



141
142
143
# File 'lib/h2g_ajaxchat.rb', line 141

def html
  @html
end

#jsObject

Returns the value of attribute js.



141
142
143
# File 'lib/h2g_ajaxchat.rb', line 141

def js
  @js
end

#sObject

Returns the value of attribute s.



141
142
143
# File 'lib/h2g_ajaxchat.rb', line 141

def s
  @s
end

Instance Method Details

#to_cssObject



147
148
# File 'lib/h2g_ajaxchat.rb', line 147

def to_css()
end

#to_htmlObject



150
151
# File 'lib/h2g_ajaxchat.rb', line 150

def to_html()
end

#to_jsObject



153
154
# File 'lib/h2g_ajaxchat.rb', line 153

def to_js()
end

#to_sObject



156
157
158
# File 'lib/h2g_ajaxchat.rb', line 156

def to_s()
  @s = html_template()
end