Method: Notesgrip::DocCollection#each_document
- Defined in:
- lib/notesgrip/DocCollection.rb
#each_document ⇒ Object Also known as: each
3 4 5 6 7 8 9 10 |
# File 'lib/notesgrip/DocCollection.rb', line 3 def each_document raw_doc = @raw_object.GetFirstDocument while raw_doc next_doc = @raw_object.GetNextDocument(raw_doc) yield NotesDocument.new(raw_doc) raw_doc = next_doc end end |