Method: Notesgrip::NotesSession#each_database
- Defined in:
- lib/notesgrip/NotesSession.rb
#each_database(serverName = "") ⇒ Object
207 208 209 210 211 212 213 214 215 |
# File 'lib/notesgrip/NotesSession.rb', line 207 def each_database(serverName = "") db_directory = @raw_object.GetDbDirectory( serverName ) raw_db = db_directory.GetFirstDatabase(NOTES_DATABASE) while raw_db next_db = db_directory.GetNextDatabase yield NotesDatabase.new(raw_db) raw_db = next_db end end |