Sha256: 3c3c14b362e261bc3065c369cc809b3df8c892e15fc82a49512459d8e46f5c4e
Contents?: true
Size: 238 Bytes
Versions: 1
Compression:
Stored size: 238 Bytes
Contents
class Array def to_ics to_rical.to_s end def to_rical RiCal.Calendar do |cal| self.flatten.each do |item| cal.add_subcomponent(item.to_rical) if item.respond_to?(:to_rical) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
droom-0.0.1 | lib/droom/monkeys.rb |