Class: SetKeyboardAction
- Inherits:
-
DeviceSettingsAction
- Object
- MacroObject
- Action
- DeviceSettingsAction
- SetKeyboardAction
- Defined in:
- lib/ruby-macrodroid/actions.rb
Overview
Category: Device Settings
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ SetKeyboardAction
constructor
A new instance of SetKeyboardAction.
- #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 = {}) ⇒ SetKeyboardAction
Returns a new instance of SetKeyboardAction.
1167 1168 1169 1170 1171 1172 1173 1174 |
# File 'lib/ruby-macrodroid/actions.rb', line 1167 def initialize(h={}) = { } super(.merge h) end |
Instance Method Details
#to_s(colour: false, indent: 0) ⇒ Object Also known as: to_summary
1176 1177 1178 |
# File 'lib/ruby-macrodroid/actions.rb', line 1176 def to_s(colour: false, indent: 0) 'SetKeyboardAction ' + @h.inspect end |