Class: SilentModeVibrateOffAction

Inherits:
VolumeAction show all
Defined in:
lib/ruby-macrodroid.rb

Overview

Category: Volume

Instance Attribute Summary

Attributes inherited from Action

#constraints

Attributes inherited from MacroObject

#options, #siguid, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h

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={})

  options = {
    option: 1
  }

  super(options.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