Class: VolumeIncrementDecrementAction

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

Overview

Category: Volume

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ VolumeIncrementDecrementAction

Returns a new instance of VolumeIncrementDecrementAction.



2942
2943
2944
2945
2946
2947
2948
2949
2950
# File 'lib/ruby-macrodroid.rb', line 2942

def initialize(h={})

  options = {
    volume_up: true
  }

  super(options.merge h)

end