Class: DarkThemeConstraint
- Inherits:
-
Constraint
- Object
- MacroObject
- Constraint
- DarkThemeConstraint
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Screen and Speaker
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ DarkThemeConstraint
constructor
A new instance of DarkThemeConstraint.
- #to_s(colour: false) ⇒ Object (also: #to_summary)
Methods inherited from Constraint
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ DarkThemeConstraint
5770 5771 5772 5773 5774 5775 5776 5777 5778 |
# File 'lib/ruby-macrodroid.rb', line 5770 def initialize(h={}) = { option: 0 } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
5780 5781 5782 |
# File 'lib/ruby-macrodroid.rb', line 5780 def to_s(colour: false) 'DarkThemeConstraint ' + @h.inspect end |