Class: DayTrigger
- Inherits:
-
Trigger
- Object
- MacroObject
- Trigger
- DayTrigger
- Defined in:
- lib/ruby-macrodroid.rb
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ DayTrigger
constructor
A new instance of DayTrigger.
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ DayTrigger
Returns a new instance of DayTrigger.
865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 |
# File 'lib/ruby-macrodroid.rb', line 865 def initialize(h={}) = { alarm_id: uuid(), hour: 9, minute: 0, month_of_year: 0, option: 0, day_of_week: 2, day_of_month: 0, use_alarm: false } super(.merge h) end |