class Sculd::Plan::Reminder
Constants
- SYMBOL_CHAR
Public Instance Methods
event_dates()
click to toggle source
# File lib/sculd/plan/reminder.rb, line 24 def event_dates [Date.new(@datetime.year, @datetime.month, @datetime.day)] end
priority(today = Date.now)
click to toggle source
value of @option does not work
# File lib/sculd/plan/reminder.rb, line 15 def priority(today = Date.now) if today < @datetime return 0 else #@option = 1 if @option < 1 return Sculd::Plan::REMINDER_PRIORITY - (today - @datetime) #/@option end end