class FlexStationData::Presenters::PlateHash
Attributes
options[R]
plate[R]
Public Class Methods
new(plate, **options)
click to toggle source
# File lib/flex_station_data/presenters/plate_hash.rb, line 14 def initialize(plate, **options) @plate = plate @options = options end
Public Instance Methods
present()
click to toggle source
# File lib/flex_station_data/presenters/plate_hash.rb, line 19 def present samples.map do |sample| { "plate" => plate.label }.merge(SampleHash.present(times, sample, **options)) end end