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.
1221 1222 1223 1224 1225 1226 1227 1228 |
# File 'lib/ruby-macrodroid/actions.rb', line 1221 def initialize(h={}) = { } super(.merge h) end |
Instance Method Details
#to_s(colour: false, indent: 0) ⇒ Object Also known as: to_summary
1230 1231 1232 |
# File 'lib/ruby-macrodroid/actions.rb', line 1230 def to_s(colour: false, indent: 0) 'SetKeyboardAction ' + @h.inspect end |