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.



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

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

Instance Attribute Details

#cssObject

Returns the value of attribute css.



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

def css
  @css
end

#htmlObject

Returns the value of attribute html.



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

def html
  @html
end

#jsObject

Returns the value of attribute js.



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

def js
  @js
end

#nameObject (readonly)

Returns the value of attribute name.



139
140
141
# File 'lib/h2g_ajaxchat.rb', line 139

def name
  @name
end

#sObject

Returns the value of attribute s.



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

def s
  @s
end

Instance Method Details

#to_cssObject



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

def to_css()
end

#to_htmlObject



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

def to_html()
end

#to_jsObject



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

def to_js()
end

#to_sObject



159
160
161
# File 'lib/h2g_ajaxchat.rb', line 159

def to_s()
  @s
end