#! /usr/bin/env ruby # coding: utf-8 #require "sculd/event.rb" #require "sculd/plan.rb" # # # class Sculd::Plan::Reminder < Sculd::Plan 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 end end def event_dates [Date.new(@datetime.year, @datetime.month, @datetime.day)] end end