Class: SilentModeVibrateOffAction
- Inherits:
-
VolumeAction
- Object
- MacroObject
- Action
- VolumeAction
- SilentModeVibrateOffAction
- Defined in:
- lib/ruby-macrodroid/actions.rb
Overview
Category: Volume
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ SilentModeVibrateOffAction
constructor
A new instance of SilentModeVibrateOffAction.
- #to_s(colour: false) ⇒ Object (also: #to_summary)
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ SilentModeVibrateOffAction
Returns a new instance of SilentModeVibrateOffAction.
2220 2221 2222 2223 2224 2225 2226 2227 2228 |
# File 'lib/ruby-macrodroid/actions.rb', line 2220 def initialize(h={}) = { option: 1 } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
2230 2231 2232 |
# File 'lib/ruby-macrodroid/actions.rb', line 2230 def to_s(colour: false) 'SilentModeVibrateOffAction ' + @h.inspect end |