Class: RecordSearch::DataSource

Inherits:
Object
  • Object
show all
Defined in:
lib/recordsearch/data_source.rb

Overview

Used when indexing. You can create subclass to give the indexer the data it needs.

Direct Known Subclasses

FileDataSource

Instance Method Summary collapse

Instance Method Details

#nextObject

Returns the next record. The method in this class is abstract (or it tries to) It raises an exception telling you to implement it.



8
9
10
# File 'lib/recordsearch/data_source.rb', line 8

def next
  raise 'you must implement this method!'
end