class Taxonifi::Model::GeogCollection

Collection of geog objects. TODO: Consider moving the row index to the base collection (those this doesn't always make sense).

Attributes

row_index[RW]

Public Class Methods

new(options = {}) click to toggle source
# File lib/models/geog_collection.rb, line 11
def initialize(options = {})
  super
  @row_index = []
  true
end

Public Instance Methods

object_class() click to toggle source
# File lib/models/geog_collection.rb, line 22
def object_class
  Taxonifi::Model::Geog
end
object_from_row(row_number) click to toggle source

Return the object represented by a row.

# File lib/models/geog_collection.rb, line 18
def object_from_row(row_number)
  @row_index[row_number]
end