Class: Vpim::Repo

Inherits:
Object
  • Object
show all
Includes:
Enumerable
Defined in:
lib/vpim/repo.rb,
lib/vpim/repo.rb

Overview

A Repo is a representation of a calendar repository.

Currently supported repository types are:

  • Repo::Apple3, an Apple iCal3 repository.

  • Repo::Directory, a directory hierarchy containing .ics files

All repository types support at least the methods of Repo, and all repositories return calendars that support at least the methods of Repo::Calendar.

Direct Known Subclasses

Apple3, Directory

Defined Under Namespace

Classes: Apple3, Calendar, Directory

Instance Method Summary collapse

Constructor Details

#initialize(where) ⇒ Repo

Open a repository at location where.



30
31
# File 'lib/vpim/repo.rb', line 30

def initialize(where)
end

Instance Method Details

#eachObject

Enumerate the calendars in the repository.



34
35
# File 'lib/vpim/repo.rb', line 34

def each #:yield: calendar
end