Class: Android::Manifest::Queries::Package

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(elem) ⇒ Package



407
408
409
410
# File 'lib/android/manifest.rb', line 407

def initialize(elem)
  @type = 'package'
  @name = elem.attributes['name']
end

Instance Attribute Details

#nameString (readonly)



403
404
405
# File 'lib/android/manifest.rb', line 403

def name
  @name
end

#typeString (readonly)



405
406
407
# File 'lib/android/manifest.rb', line 405

def type
  @type
end