Class: DarkThemeConstraint
- Inherits:
- 
      Constraint
      
        - Object
- MacroObject
- Constraint
- DarkThemeConstraint
 
- Defined in:
- lib/ruby-macrodroid/constraints.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, indent: 0) ⇒ Object (also: #to_summary)
Methods inherited from Constraint
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ DarkThemeConstraint
Returns a new instance of DarkThemeConstraint.
| 1215 1216 1217 1218 1219 1220 1221 1222 1223 | # File 'lib/ruby-macrodroid/constraints.rb', line 1215 def initialize(h={}) = { option: 0 } super(.merge h) end | 
Instance Method Details
#to_s(colour: false, indent: 0) ⇒ Object Also known as: to_summary
| 1225 1226 1227 | # File 'lib/ruby-macrodroid/constraints.rb', line 1225 def to_s(colour: false, indent: 0) 'DarkThemeConstraint ' + @h.inspect end |