Class: Android::Manifest::Queries::Package
- Inherits:
-
Object
- Object
- Android::Manifest::Queries::Package
- Defined in:
- lib/android/manifest.rb
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
Action name of queries.
-
#type ⇒ String
readonly
Action type of intent-filter.
Instance Method Summary collapse
-
#initialize(elem) ⇒ Package
constructor
A new instance of Package.
Constructor Details
#initialize(elem) ⇒ Package
Returns a new instance of 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
#name ⇒ String (readonly)
Returns action name of queries.
403 404 405 |
# File 'lib/android/manifest.rb', line 403 def name @name end |
#type ⇒ String (readonly)
Returns action type of intent-filter.
405 406 407 |
# File 'lib/android/manifest.rb', line 405 def type @type end |