Class: Android::Manifest::Meta

Inherits:
Object
  • Object
show all
Defined in:
lib/android/manifest.rb

Overview

meta information class

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameString (readonly)

Returns:

  • (String)


313
314
315
# File 'lib/android/manifest.rb', line 313

def name
  @name
end

#resourceString (readonly)

Returns:

  • (String)


315
316
317
# File 'lib/android/manifest.rb', line 315

def resource
  @resource
end

#valueString (readonly)

Returns:

  • (String)


317
318
319
# File 'lib/android/manifest.rb', line 317

def value
  @value
end