Class: Android::Manifest::Meta
- Inherits:
-
Object
- Object
- Android::Manifest::Meta
- Defined in:
- lib/android/manifest.rb
Overview
meta information class
Instance Attribute Summary collapse
- #name ⇒ String readonly
- #resource ⇒ String readonly
- #value ⇒ String readonly
Instance Method Summary collapse
-
#initialize(elem) ⇒ Meta
constructor
A new instance of Meta.
Constructor Details
#initialize(elem) ⇒ Meta
Returns a new instance of Meta.
141 142 143 144 145 |
# File 'lib/android/manifest.rb', line 141 def initialize(elem) @name = elem.attributes['name'] @resource = elem.attributes['resource'] @value = elem.attributes['value'] end |
Instance Attribute Details
#name ⇒ String (readonly)
136 137 138 |
# File 'lib/android/manifest.rb', line 136 def name @name end |
#resource ⇒ String (readonly)
138 139 140 |
# File 'lib/android/manifest.rb', line 138 def resource @resource end |
#value ⇒ String (readonly)
140 141 142 |
# File 'lib/android/manifest.rb', line 140 def value @value end |