class TimeSinceBootConstraint
Category: Device State
Public Class Methods
new(h={})
click to toggle source
Calls superclass method
Constraint::new
# File lib/ruby-macrodroid/constraints.rb, line 688 def initialize(h={}) options = { less_than: true, time_period_seconds: 10921 } 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 699 def to_s(colour: false, indent: 0) 'TimeSinceBootConstraint ' + @h.inspect end
Also aliased as: to_summary