Class: Android::Manifest::IntentFilter::Action
- Inherits:
-
Object
- Object
- Android::Manifest::IntentFilter::Action
- Defined in:
- lib/android/manifest.rb
Overview
intent-filter action class
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
Action name of intent-filter.
-
#type ⇒ String
readonly
Action type of intent-filter.
Instance Method Summary collapse
-
#initialize(elem) ⇒ Action
constructor
A new instance of Action.
Constructor Details
#initialize(elem) ⇒ Action
Returns a new instance of Action.
259 260 261 262 |
# File 'lib/android/manifest.rb', line 259 def initialize(elem) @type = 'action' @name = elem.attributes['name'] end |
Instance Attribute Details
#name ⇒ String (readonly)
Returns action name of intent-filter.
255 256 257 |
# File 'lib/android/manifest.rb', line 255 def name @name end |
#type ⇒ String (readonly)
Returns action type of intent-filter.
257 258 259 |
# File 'lib/android/manifest.rb', line 257 def type @type end |