Class: LabwareCreators::MultiStampTubes
- Includes:
- CustomPage, SupportParent::TubeOnly
- Defined in:
- app/models/labware_creators/multi_stamp_tubes.rb
Overview
rubocop:todo Style/Documentation, Metrics/ClassLength
Instance Attribute Summary collapse
-
#parents ⇒ Object
Returns the value of attribute parents.
-
#transfers ⇒ Object
Returns the value of attribute transfers.
Instance Method Summary collapse
- #allow_tube_duplicates? ⇒ Boolean
- #parent ⇒ Object included from SupportParent::TubeOnly
- #require_tube_passed? ⇒ Boolean
Constructor Details
This class inherits a constructor from LabwareCreators::Base
Instance Attribute Details
#parents ⇒ Object
Returns the value of attribute parents.
8 9 10 |
# File 'app/models/labware_creators/multi_stamp_tubes.rb', line 8 def parents @parents end |
#transfers ⇒ Object
Returns the value of attribute transfers.
8 9 10 |
# File 'app/models/labware_creators/multi_stamp_tubes.rb', line 8 def transfers @transfers end |
Instance Method Details
#allow_tube_duplicates? ⇒ Boolean
26 27 28 |
# File 'app/models/labware_creators/multi_stamp_tubes.rb', line 26 def allow_tube_duplicates? params.fetch('allow_tube_duplicates', false) end |
#parent ⇒ Object Originally defined in module SupportParent::TubeOnly
#require_tube_passed? ⇒ Boolean
30 31 32 |
# File 'app/models/labware_creators/multi_stamp_tubes.rb', line 30 def require_tube_passed? params.fetch('require_tube_passed', false) end |