Class: AndroidShortcutsAction
- Inherits:
-
DeviceAction
- Object
- MacroObject
- Action
- DeviceAction
- AndroidShortcutsAction
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Device Actions
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ AndroidShortcutsAction
constructor
A new instance of AndroidShortcutsAction.
- #to_s(colour: false) ⇒ Object (also: #to_summary)
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ AndroidShortcutsAction
Returns a new instance of AndroidShortcutsAction.
3333 3334 3335 3336 3337 3338 3339 3340 3341 |
# File 'lib/ruby-macrodroid.rb', line 3333 def initialize(h={}) = { option: 1 } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
3343 3344 3345 |
# File 'lib/ruby-macrodroid.rb', line 3343 def to_s(colour: false) 'AndroidShortcutsAction ' + @h.inspect end |