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.
948 949 950 951 952 953 954 955 956 |
# File 'lib/ruby-macrodroid/actions.rb', line 948 def initialize(h={}) = { option: 1 } super(.merge h) end |
Instance Method Details
#to_s(colour: false, indent: 0) ⇒ Object Also known as: to_summary
958 959 960 |
# File 'lib/ruby-macrodroid/actions.rb', line 958 def to_s(colour: false, indent: 0) 'AndroidShortcutsAction ' + @h.inspect end |