Class: ObservationMatrixColumnItem::SingleDescriptor

Inherits:
ObservationMatrixColumnItem show all
Defined in:
app/models/observation_matrix_column_item/single_descriptor.rb

Constant Summary

Constant Summary

Constants inherited from ObservationMatrixColumnItem

ALL_STI_ATTRIBUTES

Class Method Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from ObservationMatrixColumnItem

#cleanup_matrix_columns, #cleanup_single_matrix_column, human_name, #other_subclass_attributes_not_set, #type_is_subclassed, #update_matrix_columns, #update_single_matrix_column

Methods included from Housekeeping

#has_polymorphic_relationship?

Class Method Details

+ (Object) subclass_attributes



8
9
10
# File 'app/models/observation_matrix_column_item/single_descriptor.rb', line 8

def self.subclass_attributes
  [:descriptor_id]
end

Instance Method Details

- (Object) descriptors



12
13
14
# File 'app/models/observation_matrix_column_item/single_descriptor.rb', line 12

def descriptors
  [self.descriptor]
end