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.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#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.
142 143 144 |
# File 'lib/h2g_ajaxchat.rb', line 142 def initialize(name, h={} ) @h, @name = h, name end |
Instance Attribute Details
#css ⇒ Object
Returns the value of attribute css.
140 141 142 |
# File 'lib/h2g_ajaxchat.rb', line 140 def css @css end |
#html ⇒ Object
Returns the value of attribute html.
140 141 142 |
# File 'lib/h2g_ajaxchat.rb', line 140 def html @html end |
#js ⇒ Object
Returns the value of attribute js.
140 141 142 |
# File 'lib/h2g_ajaxchat.rb', line 140 def js @js end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
139 140 141 |
# File 'lib/h2g_ajaxchat.rb', line 139 def name @name end |
#s ⇒ Object
Returns the value of attribute s.
140 141 142 |
# File 'lib/h2g_ajaxchat.rb', line 140 def s @s end |
Instance Method Details
#to_css ⇒ Object
146 147 |
# File 'lib/h2g_ajaxchat.rb', line 146 def to_css() end |
#to_html ⇒ Object
149 150 |
# File 'lib/h2g_ajaxchat.rb', line 149 def to_html() end |
#to_js ⇒ Object
152 153 |
# File 'lib/h2g_ajaxchat.rb', line 152 def to_js() end |
#to_s ⇒ Object
159 160 161 |
# File 'lib/h2g_ajaxchat.rb', line 159 def to_s() @s end |