Class: SendIntentAction
- Inherits:
-
ConnectivityAction
- Object
- MacroObject
- Action
- ConnectivityAction
- SendIntentAction
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Connectivity
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ SendIntentAction
constructor
A new instance of SendIntentAction.
- #to_s(colour: false) ⇒ Object (also: #to_summary)
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ SendIntentAction
Returns a new instance of SendIntentAction.
3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 |
# File 'lib/ruby-macrodroid.rb', line 3191 def initialize(h={}) = { action: '', class_name: '', data: '', extra1_name: '', extra1_value: '', extra2_name: '', extra2_value: '', extra3_name: '', extra3_value: '', extra4_name: '', extra4_value: '', package_name: '', target: 'Activity' } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
3213 3214 3215 |
# File 'lib/ruby-macrodroid.rb', line 3213 def to_s(colour: false) 'SendIntentAction ' + @h.inspect end |