Class: ObservationMatrix

Inherits:
ApplicationRecord show all
Includes:
Housekeeping, Shared::Citations, Shared::DataAttributes, Shared::Identifiers, Shared::IsData, Shared::Notes, Shared::Tags
Defined in:
app/models/observation_matrix.rb

Overview

A view to a set of observations.

Instance Method Summary (collapse)

Methods included from Housekeeping

#has_polymorphic_relationship?

Instance Method Details

- (Object) cell_count



29
30
31
# File 'app/models/observation_matrix.rb', line 29

def cell_count
  observation_matrix_rows.count * observation_matrix_columns.count 
end