lib/endeca/document_collection.rb in primedia-endeca-0.12.0 vs lib/endeca/document_collection.rb in primedia-endeca-0.14.0

- old
+ new

@@ -15,11 +15,11 @@ # DocumentCollections delegate array-like behavior to their embedded document # collection, (+documents+). In most cases a DocumentCollection can be used # as if it were an array of Document objects. (Array delegation pattern # borrowed from Rake::FileList) class DocumentCollection + include Readers extend ClassToProc - extend Readers attr_reader :raw def initialize(raw, document_klass=Document) @raw = raw @document_klass = document_klass