Sha256: 50928b6deb4f62774b56749893496a382289c705bcbef626d94de027c66aed0f

Contents?: true

Size: 605 Bytes

Versions: 4

Compression:

Stored size: 605 Bytes

Contents

module Vpim
  class Icalendar

    # The title of the calendar.
    def title
      @properties['X-WR-CALNAME']
    end

    # Sets the title of the calendar, displayed by some clients.
    def title=(value)
      @properties.push_unique DirectoryInfo::Field.create('X-WR-CALNAME', value)
    end

    # The time zone of the calendar
    def time_zone
      @properties['X-WR-TIMEZONE']
    end

    # Sets the time zone for entries of this calendar. (e.g. America/Los Angeles)
    def time_zone=(value)
      @properties.push_unique DirectoryInfo::Field.create('X-WR-TIMEZONE', value)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
open_conference_ware-1.0.0.pre4 lib/ext/vpim_icalendar_extra_properties.rb
open_conference_ware-1.0.0.pre3 lib/ext/vpim_icalendar_extra_properties.rb
open_conference_ware-1.0.0.pre2 lib/ext/vpim_icalendar_extra_properties.rb
open_conference_ware-1.0.0.pre1 lib/ext/vpim_icalendar_extra_properties.rb