Class: Hpricot::BasicNode
- Inherits:
-
Object
- Object
- Hpricot::BasicNode
- Defined in:
- lib/hpricot/nodes.rb
Overview
Shared by Text, Comment, CData.
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#parent ⇒ Object
Returns the value of attribute parent.
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
15 16 17 |
# File 'lib/hpricot/nodes.rb', line 15 def name @name end |
#parent ⇒ Object
Returns the value of attribute parent.
15 16 17 |
# File 'lib/hpricot/nodes.rb', line 15 def parent @parent end |