Class: Attribute (REXML)

Overview
Module Structure
Class Hierarchy
Constants
Attribute::PATTERN
Instance Attributes
Attribute#element [R]
Attribute#normalized [W]
Instance Methods
Attribute#initialize / 3
Attribute#prefix
Attribute#namespace
Attribute#== / 1
Attribute#hash
Attribute#to_string
Attribute#to_s
Attribute#value
Attribute#clone
Attribute#element= / 1
Attribute#remove
Attribute#write / 2
Attribute#node_type
Attribute#inspect
Attribute#xpath
is a submodule of
module: REXML   
includes
  Namespace ( REXML )
  Node ( REXML )
inherits from
  Object ( Builtin-Module )
has properties
attribute: element [R]   
attribute: normalized [W]   
constant: PATTERN   
method: initialize / 3   
method: prefix   
method: namespace   
method: == / 1   
method: hash   
method: to_string   
method: to_s   
method: value   
method: clone   
method: element= / 1   
method: remove   
method: write / 2   
method: node_type   
method: inspect   
method: xpath   
is defined at
#9 in rexml/attribute.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: <Built-in Module>
  module: REXML
class: Attribute     
module: Namespace     
module: Node     

Class Hierarchy

Object ( Builtin-Module )
has properties
method: dclone   
Attribute ( REXML )
includes
  Namespace ( REXML )
  Node ( REXML )
has properties
attribute: element [R]   
attribute: normalized [W]   
constant: PATTERN   
method: initialize / 3   
method: prefix   
method: namespace   
method: == / 1   
method: hash   
method: to_string   
method: to_s   
method: value   
method: clone   
method: element= / 1   
method: remove   
method: write / 2   
method: node_type   
method: inspect   
method: xpath   

Constants

Attribute::PATTERN

#18 in rexml/attribute.rb

PATTERN = /\s*(#{NAME_STR})\s*=\s*(["'])(.*?)\2/um   

Instance Attributes

Attribute#element [R]

#14 in rexml/attribute.rb

Attribute#normalized [W]

#17 in rexml/attribute.rb

Instance Methods

Attribute#initialize / 3

#42 in rexml/attribute.rb

initialize ( first ,
  second=nil ,
  parent=nil )

Attribute#prefix

#70 in rexml/attribute.rb

prefix

Attribute#namespace

#83 in rexml/attribute.rb

namespace

Attribute#== / 1

#90 in rexml/attribute.rb

== ( other )

Attribute#hash

#95 in rexml/attribute.rb

hash

Attribute#to_string

#105 in rexml/attribute.rb

to_string

Attribute#to_s

#114 in rexml/attribute.rb

to_s

Attribute#value

#130 in rexml/attribute.rb

value

Attribute#clone

#143 in rexml/attribute.rb

clone

Attribute#element= / 1

#151 in rexml/attribute.rb

element= ( element )

Attribute#remove

#159 in rexml/attribute.rb

remove

Attribute#write / 2

#164 in rexml/attribute.rb

write ( output ,
  indent=-1 )

Attribute#node_type

#168 in rexml/attribute.rb

node_type

Attribute#inspect

#172 in rexml/attribute.rb

inspect

Attribute#xpath

#178 in rexml/attribute.rb

xpath