Module REXML::Namespace
In: rexml/namespace.rb

Adds named attributes to an object.

オブジェクトに名前の付いた属性を加えます。

Methods
fully_expanded_name    has_name?    name=   
Attributes
:expanded_name  [R] 

The name of the object, valid if set

もし設定されていれば、妥当なオブジェクトの名前です。

:name  [R] 

The name of the object, valid if set

もし設定されていれば、妥当なオブジェクトの名前です。

:prefix  [RW] 

The expanded name of the object, valid if name is set

もしnameが設定されていれば、妥当なオブジェクトの拡張された名前で す。

Public Instance methods
name=( name )

Sets the name and the expanded name

名前と拡張された名前を設定します。

has_name?( other )

Compares names optionally WITH namespaces

任意のネームスペースの付いた名前を比較します。

fully_expanded_name()

Fully expand the name, even if the prefix wasn't specified in the source file.

たとえprefixがソースファイルで指定されていなくても完全に名前を拡 張します。