Class: SilentModeVibrateOffAction
- Inherits:
-
VolumeAction
- Object
- MacroObject
- Action
- VolumeAction
- SilentModeVibrateOffAction
- Defined in:
- lib/ruby-macrodroid.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.
4618 4619 4620 4621 4622 4623 4624 4625 4626 |
# File 'lib/ruby-macrodroid.rb', line 4618 def initialize(h={}) = { option: 1 } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
4628 4629 4630 |
# File 'lib/ruby-macrodroid.rb', line 4628 def to_s(colour: false) 'SilentModeVibrateOffAction ' + @h.inspect end |