Current Path : /usr/local/share/ri/1.8/system/REXML/Element/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/REXML/Element/namespace-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Evalutas to the URI for a prefix, or the empty string if no such namespace is declared for this element. Evaluates recursively for ancestors. Returns the default namespace, if there is one. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "prefix:" body: the prefix to search for. If not supplied, returns the default namespace if one exists - !ruby/struct:SM::Flow::LI label: "Returns:" body: the namespace URI as a String, or nil if no such namespace exists. If the namespace is undefined, returns an empty string type: :NOTE - !ruby/struct:SM::Flow::VERB body: " doc = Document.new("<a xmlns='1' xmlns:y='2'><b/><c xmlns:z='3'/></a>")\n b = doc.elements['//b']\n b.namespace # -> '1'\n b.namespace("y") # -> '2'\n" full_name: REXML::Element#namespace is_singleton: false name: namespace params: (prefix=nil) visibility: public