41 42 43 44 45 46 47 48
# File 'lib/rdomino/1modules.rb', line 41 def each doc = @obj.getLastDocument while doc next_doc = @obj.getPrevDocument(doc) yield(Document.new(doc)) doc = next_doc end end