Method: Collection#docs

Defined in:
lib/collection.rb

#docsObject

Returns string array of all documents in collection

  • Args :

    • none

  • Returns : -array of strings

  • Raises :

    • nothing



69
70
71
72
73
# File 'lib/collection.rb', line 69

def docs    
  ds = []
  @documents.each{ |d| ds.push(d.name)}
  return ds
end