Class: AndroidShortcutsAction
- Inherits:
-
DeviceAction
- Object
- MacroObject
- Action
- DeviceAction
- AndroidShortcutsAction
- Defined in:
- lib/ruby-macrodroid/actions.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, indent: 0) ⇒ Object (also: #to_summary)
Methods inherited from Action
Methods included from ObjectX
#action_to_object, #object_create, #varify
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ AndroidShortcutsAction
Returns a new instance of AndroidShortcutsAction.
880 881 882 883 884 885 886 887 888 |
# File 'lib/ruby-macrodroid/actions.rb', line 880 def initialize(h={}) = { option: 1 } super(.merge h) end |
Instance Method Details
#to_s(colour: false, indent: 0) ⇒ Object Also known as: to_summary
890 891 892 |
# File 'lib/ruby-macrodroid/actions.rb', line 890 def to_s(colour: false, indent: 0) 'AndroidShortcutsAction ' + @h.inspect end |