A collection of references.
An options index when there is one reference per row.
# File lib/models/ref_collection.rb, line 16 def initialize(options = {}) super @row_index = [] @author_index = {} true end
The instance collection class.
# File lib/models/ref_collection.rb, line 24 def object_class Taxonifi::Model::Ref end
The object at a given row. TODO: inherit from Collection?
# File lib/models/ref_collection.rb, line 30 def object_from_row(row_number) @row_index[row_number] end