Class: Sculd::Plan::Schedule
- Inherits:
-
Sculd::Plan
- Object
- Sculd::Plan
- Sculd::Plan::Schedule
- Defined in:
- lib/sculd/plan/schedule.rb
Constant Summary collapse
- SYMBOL_CHAR =
"@"
Constants inherited from Sculd::Plan
DEADLINE_PRIORITY, REMINDER_PRIORITY
Instance Attribute Summary
Attributes inherited from Sculd::Plan
#datetime, #description, #flag_time, #option
Instance Method Summary collapse
Methods inherited from Sculd::Plan
Constructor Details
This class inherits a constructor from Sculd::Plan
Instance Method Details
#event_dates ⇒ Object
18 19 20 |
# File 'lib/sculd/plan/schedule.rb', line 18 def event_dates [Date.new(@datetime.year, @datetime.month, @datetime.day)] end |
#priority(today = Date.new) ⇒ Object
14 15 16 |
# File 'lib/sculd/plan/schedule.rb', line 14 def priority(today = Date.new) return 0 end |