Class: DayOfMonthConstraint
- Inherits:
-
Constraint
- Object
- MacroObject
- Constraint
- DayOfMonthConstraint
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Date/Time
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ DayOfMonthConstraint
constructor
A new instance of DayOfMonthConstraint.
Methods inherited from Constraint
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ DayOfMonthConstraint
Returns a new instance of DayOfMonthConstraint.
4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 |
# File 'lib/ruby-macrodroid.rb', line 4456 def initialize(h={}) = { day_names: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31"], days_of_month: [false, false, false, false, false, false, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false] } super(.merge h) end |