Sha256: 2991e648de9ab4f2cf668fa8442f16713425dc4cb236bf6bcd93fa6308a8f071
Contents?: true
Size: 540 Bytes
Versions: 1
Compression:
Stored size: 540 Bytes
Contents
#! /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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sculd-0.1.3 | lib/sculd/plan/reminder.rb |