Class: WebPage
- Inherits:
-
Object
- Object
- WebPage
- Defined in:
- lib/h2g_ajaxchat.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#css ⇒ Object
Returns the value of attribute css.
-
#html ⇒ Object
Returns the value of attribute html.
-
#js ⇒ Object
Returns the value of attribute js.
-
#s ⇒ Object
Returns the value of attribute s.
Instance Method Summary collapse
-
#initialize(name, h = {}) ⇒ WebPage
constructor
A new instance of WebPage.
- #to_css ⇒ Object
- #to_html ⇒ Object
- #to_js ⇒ Object
- #to_s ⇒ Object
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
#css ⇒ Object
Returns the value of attribute css.
141 142 143 |
# File 'lib/h2g_ajaxchat.rb', line 141 def css @css end |
#html ⇒ Object
Returns the value of attribute html.
141 142 143 |
# File 'lib/h2g_ajaxchat.rb', line 141 def html @html end |
#js ⇒ Object
Returns the value of attribute js.
141 142 143 |
# File 'lib/h2g_ajaxchat.rb', line 141 def js @js end |
#s ⇒ Object
Returns the value of attribute s.
141 142 143 |
# File 'lib/h2g_ajaxchat.rb', line 141 def s @s end |
Instance Method Details
#to_css ⇒ Object
147 148 |
# File 'lib/h2g_ajaxchat.rb', line 147 def to_css() end |
#to_html ⇒ Object
150 151 |
# File 'lib/h2g_ajaxchat.rb', line 150 def to_html() end |
#to_js ⇒ Object
153 154 |
# File 'lib/h2g_ajaxchat.rb', line 153 def to_js() end |
#to_s ⇒ Object
156 157 158 |
# File 'lib/h2g_ajaxchat.rb', line 156 def to_s() @s = html_template() end |