Sha256: 625ee66930815ff74b8571ef1b22d2f7b2bfebc29041cf314e665f023e6e4165
Contents?: true
Size: 314 Bytes
Versions: 53
Compression:
Stored size: 314 Bytes
Contents
module RiCal class OccurrencePeriod attr_reader :dtstart, :dtend def initialize(dtstart, dtend) @dtstart = dtstart @dtend = dtend end def to_s "op:#{dtstart}-#{dtend}" end def <=>(other) [dtstart, dtend] <=> [other.dtstart, other.dtend] end end end
Version data entries
53 entries across 53 versions & 9 rubygems