Class: NotificationVolumeConstraint

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

Overview

Category: Notification

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #siguid, #type

Instance Method Summary collapse

Methods inherited from Constraint

#match?

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ NotificationVolumeConstraint



5639
5640
5641
5642
5643
5644
5645
5646
5647
# File 'lib/ruby-macrodroid.rb', line 5639

def initialize(h={})

  options = {
    option: 1
  }

  super(options.merge h)

end

Instance Method Details

#to_s(colour: false) ⇒ Object Also known as: to_summary



5649
5650
5651
# File 'lib/ruby-macrodroid.rb', line 5649

def to_s(colour: false)
  'NotificationVolumeConstraint ' + @h.inspect
end