Class: TimeSinceBootConstraint

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

Overview

Category: Device State

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Constraint

#match?

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ TimeSinceBootConstraint

Returns a new instance of TimeSinceBootConstraint.



4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
# File 'lib/ruby-macrodroid.rb', line 4089

def initialize(h={})

  options = {
    less_than: true,
    time_period_seconds: 10921
  }

  super(options.merge h)

end