Class: Presenters::MinimalPlatePresenter

Inherits:
PlatePresenter show all
Includes:
Statemachine::Standard
Defined in:
app/models/presenters/minimal_plate_presenter.rb

Overview

rubocop:todo Style/Documentation

Instance Method Summary collapse

Instance Method Details



16
17
18
# File 'app/models/presenters/minimal_plate_presenter.rb', line 16

def csv_file_links
  []
end

#number_of_wellsObject



12
13
14
# File 'app/models/presenters/minimal_plate_presenter.rb', line 12

def number_of_wells
  size
end

#tagged?Boolean

This is a lie. TODO: Work out a more elegant way to handle this We may not actually need to, as this is mainly used to work out if we should allow library passing. Which I’m not sure we want to allow anyway for most minimal plates.

Returns:

  • (Boolean)


25
26
27
# File 'app/models/presenters/minimal_plate_presenter.rb', line 25

def tagged?
  true
end