Class: VolumeIncrementDecrementAction
- Inherits:
-
VolumeAction
- Object
- MacroObject
- Action
- VolumeAction
- VolumeIncrementDecrementAction
- 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 = {}) ⇒ VolumeIncrementDecrementAction
constructor
A new instance of VolumeIncrementDecrementAction.
- #to_s(colour: false) ⇒ Object (also: #to_summary)
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ VolumeIncrementDecrementAction
Returns a new instance of VolumeIncrementDecrementAction.
1995 1996 1997 1998 1999 2000 2001 2002 2003 |
# File 'lib/ruby-macrodroid/actions.rb', line 1995 def initialize(h={}) = { volume_up: true } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
2005 2006 2007 |
# File 'lib/ruby-macrodroid/actions.rb', line 2005 def to_s(colour: false) 'VolumeIncrementDecrementAction ' + @h.inspect end |