Module: ObservationMatrixColumnItemsHelper

Defined in:
app/helpers/observation_matrix_column_items_helper.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) observation_matrix_column_item_tag(matrix_column_item)

TODO: write a meaningful name generator, requires subclass instance methods(?) or subclass helper methods



5
6
7
8
# File 'app/helpers/observation_matrix_column_items_helper.rb', line 5

def observation_matrix_column_item_tag(matrix_column_item)
  return nil if matrix_column_item.nil?
  [matrix_tag(matrix_column_item.matrix), matrix_column_item.type].compact.join(': ')
end