Module: WellHelpers::Extensions

Included in:
Sequencescape::Api::V2::Plate, Sequencescape::Api::V2::TubeRack
Defined in:
lib/well_helpers.rb

Overview

Provide model level wrappers for these methods. Requires the including class responds to #number_of_columns and #number of wells

Instance Method Summary collapse

Instance Method Details

#columns_rangeObject



16
17
18
# File 'lib/well_helpers.rb', line 16

def columns_range
  WellHelpers.columns_range(columns: number_of_columns)
end

#locations_in_rowsObject



8
9
10
# File 'lib/well_helpers.rb', line 8

def locations_in_rows
  WellHelpers.row_order(rows: number_of_rows, columns: number_of_columns)
end

#rows_rangeObject



12
13
14
# File 'lib/well_helpers.rb', line 12

def rows_range
  WellHelpers.rows_range(rows: number_of_rows)
end