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.
318 319 320 321 322 |
# File 'lib/android/manifest.rb', line 318 def initialize(elem) @name = elem.attributes['name'] @resource = elem.attributes['resource'] @value = elem.attributes['value'] end |
Instance Attribute Details
#name ⇒ String (readonly)
313 314 315 |
# File 'lib/android/manifest.rb', line 313 def name @name end |
#resource ⇒ String (readonly)
315 316 317 |
# File 'lib/android/manifest.rb', line 315 def resource @resource end |
#value ⇒ String (readonly)
317 318 319 |
# File 'lib/android/manifest.rb', line 317 def value @value end |