Class: Hpricot::BasicNode

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

Overview

Shared by Text, Comment, CData.

Direct Known Subclasses

CData, Comment, Text

Instance Attribute Summary collapse

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