lib/sculd/plan/reminder.rb in sculd-0.1.2 vs lib/sculd/plan/reminder.rb in sculd-0.1.3
- old
+ new
@@ -7,22 +7,22 @@
#
#
#
class Sculd::Plan::Reminder < Sculd::Plan
- SYMBOL_CHAR = "-"
+ SYMBOL_CHAR = "-"
- # value of @option does not work
- def priority(today = Date.now)
- if today < @datetime
- return 0
- else
- #@option = 1 if @option < 1
- return Sculd::Plan::REMINDER_PRIORITY - (today - @datetime) #/@option
+ # value of @option does not work
+ 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
- end
- def event_dates
- [Date.new(@datetime.year, @datetime.month, @datetime.day)]
- end
+ def event_dates
+ [Date.new(@datetime.year, @datetime.month, @datetime.day)]
+ end
end