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.



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

#nameString (readonly)

Returns:

  • (String)


136
137
138
# File 'lib/android/manifest.rb', line 136

def name
  @name
end

#resourceString (readonly)

Returns:

  • (String)


138
139
140
# File 'lib/android/manifest.rb', line 138

def resource
  @resource
end

#valueString (readonly)

Returns:

  • (String)


140
141
142
# File 'lib/android/manifest.rb', line 140

def value
  @value
end