Class: Vpim::Repo
- Inherits:
-
Object
- Object
- Vpim::Repo
- 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
-
Repo::Uri, a URI that identifies a single iCalendar
All repository types support at least the methods of Repo, and all repositories return calendars that support at least the methods of Repo::Calendar.
Defined Under Namespace
Classes: Apple3, Calendar, Directory, Uri
Instance Method Summary collapse
-
#each ⇒ Object
Enumerate the calendars in the repository.
-
#initialize(where) ⇒ Repo
constructor
Open a repository at location
where
.
Constructor Details
#initialize(where) ⇒ Repo
Open a repository at location where
.
33 34 |
# File 'lib/vpim/repo.rb', line 33 def initialize(where) end |
Instance Method Details
#each ⇒ Object
Enumerate the calendars in the repository.
37 38 |
# File 'lib/vpim/repo.rb', line 37 def each #:yield: calendar end |