Class: Android::Manifest::IntentFilter::Category
- Inherits:
-
Object
- Object
- Android::Manifest::IntentFilter::Category
- Defined in:
- lib/android/manifest.rb
Overview
intent-filter category class
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
Category name of intent-filter.
-
#type ⇒ String
readonly
Category type of intent-filter.
Instance Method Summary collapse
-
#initialize(elem) ⇒ Category
constructor
A new instance of Category.
Constructor Details
#initialize(elem) ⇒ Category
Returns a new instance of Category.
272 273 274 275 |
# File 'lib/android/manifest.rb', line 272 def initialize(elem) @type = 'category' @name = elem.attributes['name'] end |
Instance Attribute Details
#name ⇒ String (readonly)
Returns category name of intent-filter.
268 269 270 |
# File 'lib/android/manifest.rb', line 268 def name @name end |
#type ⇒ String (readonly)
Returns category type of intent-filter.
270 271 272 |
# File 'lib/android/manifest.rb', line 270 def type @type end |