Class: CaTissue::SpecimenArray
- Inherits:
-
Object
- Object
- CaTissue::SpecimenArray
- Defined in:
- lib/catissue/domain/specimen_array.rb
Instance Method Summary collapse
-
#add(storable, coordinate = nil, attribute = nil) ⇒ Object
(also: #<<)
Raises NotImplementedError since caTissue SpecimenArray is broken in important ways described below.
-
#specimen_array_type=(type) ⇒ Object
Initializes this instance’s child storage types from the given type.
Instance Method Details
#add(storable, coordinate = nil, attribute = nil) ⇒ Object Also known as: <<
Raises NotImplementedError since caTissue SpecimenArray is broken in important ways described below.
37 38 39 |
# File 'lib/catissue/domain/specimen_array.rb', line 37 def add(storable, coordinate=nil, attribute=nil) raise NotImplementedError.new("Adding specimens to a SpecimenArray is not yet supported") end |
#specimen_array_type=(type) ⇒ Object
Initializes this instance’s child storage types from the given type.
11 12 13 14 15 16 17 |
# File 'lib/catissue/domain/specimen_array.rb', line 11 def specimen_array_type=(type) setSpecimenArrayType(type) unless type.nil? then copy_container_type_capacity end type end |