Class: ObservationMatrixRowItem::SingleOtu

Inherits:
ObservationMatrixRowItem show all
Defined in:
app/models/observation_matrix_row_item/single_otu.rb

Constant Summary

Constant Summary

Constants inherited from ObservationMatrixRowItem

ALL_STI_ATTRIBUTES

Class Method Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from ObservationMatrixRowItem

#cleanup_matrix_rows, #cleanup_single_matrix_row, #collection_objects, #decrement_matrix_row_reference_count, human_name, #object_is?, #other_subclass_attributes_not_set, #type_is_subclassed, #update_matrix_rows, #update_single_matrix_row

Methods included from Housekeeping

#has_polymorphic_relationship?

Class Method Details

+ (Object) subclass_attributes



8
9
10
# File 'app/models/observation_matrix_row_item/single_otu.rb', line 8

def self.subclass_attributes
  [:otu_id]
end

Instance Method Details

- (Object) matrix_row_item_object



16
17
18
# File 'app/models/observation_matrix_row_item/single_otu.rb', line 16

def matrix_row_item_object
  otu 
end

- (Object) otus



12
13
14
# File 'app/models/observation_matrix_row_item/single_otu.rb', line 12

def otus
  [self.otu]
end