D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
REXML
/
Element
/
Filename :
prefixes-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Evaluates to an <tt>Array</tt> containing the prefixes (names) of all defined namespaces at this context node. - !ruby/struct:SM::Flow::VERB body: " doc = Document.new("<a xmlns:x='1' xmlns:y='2'><b/><c xmlns:z='3'/></a>")\n doc.elements['//b'].prefixes # -> ['x', 'y']\n" full_name: REXML::Element#prefixes is_singleton: false name: prefixes params: () visibility: public