Class: Droonga::Searcher::SimpleRecordsFormatter

Inherits:
Object
  • Object
show all
Includes:
RecordsFormattable
Defined in:
lib/droonga/searcher.rb

Instance Method Summary collapse

Methods included from RecordsFormattable

#format_records, #record_value

Instance Method Details

#format_record(attributes, record) ⇒ Object



536
537
538
539
540
# File 'lib/droonga/searcher.rb', line 536

def format_record(attributes, record)
  attributes.collect do |attribute|
    record_value(record, attribute)
  end
end