Class: NotificationVolumeConstraint
- Inherits:
-
Constraint
- Object
- MacroObject
- Constraint
- NotificationVolumeConstraint
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Notification
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ NotificationVolumeConstraint
constructor
A new instance of NotificationVolumeConstraint.
- #to_s(colour: false) ⇒ Object (also: #to_summary)
Methods inherited from Constraint
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ NotificationVolumeConstraint
Returns a new instance of NotificationVolumeConstraint.
5653 5654 5655 5656 5657 5658 5659 5660 5661 |
# File 'lib/ruby-macrodroid.rb', line 5653 def initialize(h={}) = { option: 1 } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
5663 5664 5665 |
# File 'lib/ruby-macrodroid.rb', line 5663 def to_s(colour: false) 'NotificationVolumeConstraint ' + @h.inspect end |