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
.
32 33 |
# File 'lib/vpim/repo.rb', line 32 def initialize(where) end |
Instance Method Details
#each ⇒ Object
Enumerate the calendars in the repository.
36 37 |
# File 'lib/vpim/repo.rb', line 36 def each #:yield: calendar end |