Class: ApkXml::XmlAttribute
- Inherits:
-
Struct
- Object
- Struct
- ApkXml::XmlAttribute
- Defined in:
- lib/apktools/apkxml.rb
Overview
Structure defining an XML element’s attribute
XmlAttribute = Struct.new(:namespace, :name, :raw, :value)
-
namespace
= Namespace prefix of the attribute -
name
= Name of the attribute -
value
= Value of the attribute
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
88 89 90 |
# File 'lib/apktools/apkxml.rb', line 88 def name @name end |
#namespace ⇒ Object
Returns the value of attribute namespace
88 89 90 |
# File 'lib/apktools/apkxml.rb', line 88 def namespace @namespace end |
#value ⇒ Object
Returns the value of attribute value
88 89 90 |
# File 'lib/apktools/apkxml.rb', line 88 def value @value end |