class SunriseSunsetTrigger
Category: Location
Public Class Methods
new(h={})
click to toggle source
Calls superclass method
Trigger::new
# File lib/ruby-macrodroid/triggers.rb, line 1340 def initialize(h={}) options = { option: 0, time_adjust_seconds: 0 } super(options.merge h) end
Public Instance Methods
to_s(colour: false)
click to toggle source
# File lib/ruby-macrodroid/triggers.rb, line 1351 def to_s(colour: false) 'SunriseSunsetTrigger ' + @h.inspect end
Also aliased as: to_summary