U:RDoc::AnyMethod[iI"get_attribute:EFI"$REXML::Attributes#get_attribute;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"Fetches an attribute;To:RDoc::Markup::List: @type: NOTE: @items[o:RDoc::Markup::ListItem: @label[I" name;T; [o; ; [I">the name by which to search for the attribute. Can be a ;TI")prefix:name namespace name.;To;;[I" Returns;T; [o; ; [I"BThe first matching attribute, or nil if there was none. This;To; ; [I"Gvalue is an Attribute node, not the String value of the attribute.;To:RDoc::Markup::Verbatim; [I"9doc = Document.new '' ;TI"?doc.root.attributes.get_attribute("foo").value #-> "2" ;TI">doc.root.attributes.get_attribute("x:foo").value #-> "1";T: @format0: @fileI"lib/rexml/element.rb;T:0@omit_headings_from_table_of_contents_below000[I" ( name );T@'FI"Attributes;TcRDoc::NormalClass00