Class: Hpricot::ElemNode

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

Overview

Shared by Doc and Elem.

Direct Known Subclasses

Doc, Elem

Instance Attribute Summary collapse

Instance Attribute Details

#allowed ⇒ Object

Returns the value of attribute allowed.



25
26
27
# File 'lib/hpricot/nodes.rb', line 25

def allowed
  @allowed
end

#children ⇒ Object

Returns the value of attribute children.



25
26
27
# File 'lib/hpricot/nodes.rb', line 25

def children
  @children
end

#etag ⇒ Object

Returns the value of attribute etag.



25
26
27
# File 'lib/hpricot/nodes.rb', line 25

def etag
  @etag
end

#name ⇒ Object

Returns the value of attribute name.



25
26
27
# File 'lib/hpricot/nodes.rb', line 25

def name
  @name
end

#parent ⇒ Object

Returns the value of attribute parent.



25
26
27
# File 'lib/hpricot/nodes.rb', line 25

def parent
  @parent
end

#raw_attributes ⇒ Object

Returns the value of attribute raw_attributes.



25
26
27
# File 'lib/hpricot/nodes.rb', line 25

def raw_attributes
  @raw_attributes
end

#raw_string ⇒ Object

Returns the value of attribute raw_string.



25
26
27
# File 'lib/hpricot/nodes.rb', line 25

def raw_string
  @raw_string
end

#tagno ⇒ Object

Returns the value of attribute tagno.



25
26
27
# File 'lib/hpricot/nodes.rb', line 25

def tagno
  @tagno
end