class SpeakerPhoneConstraint
Category: Screen and Speaker
Public Class Methods
new(h={})
click to toggle source
Calls superclass method
Constraint::new
# File lib/ruby-macrodroid/constraints.rb, line 1194 def initialize(h={}) options = { enabled: true } super(options.merge h) end
Public Instance Methods
to_s(colour: false, indent: 0)
click to toggle source
# File lib/ruby-macrodroid/constraints.rb, line 1204 def to_s(colour: false, indent: 0) 'SpeakerPhoneConstraint ' + @h.inspect end
Also aliased as: to_summary