Class: SetKeyboardAction
- Inherits:
-
DeviceSettingsAction
- Object
- MacroObject
- Action
- DeviceSettingsAction
- SetKeyboardAction
- Defined in:
- lib/ruby-macrodroid.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) ⇒ Object (also: #to_summary)
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ SetKeyboardAction
Returns a new instance of SetKeyboardAction.
3601 3602 3603 3604 3605 3606 3607 3608 |
# File 'lib/ruby-macrodroid.rb', line 3601 def initialize(h={}) = { } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
3610 3611 3612 |
# File 'lib/ruby-macrodroid.rb', line 3610 def to_s(colour: false) 'SetKeyboardAction ' + @h.inspect end |