Class: SampleManifestExcel::ManifestTypeList::ManifestType
- Inherits:
-
Object
- Object
- SampleManifestExcel::ManifestTypeList::ManifestType
- Includes:
- SequencescapeExcel::Helpers::Attributes
- Defined in:
- app/sample_manifest_excel/sample_manifest_excel/manifest_type_list.rb
Overview
ManifestType
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(attributes = {}) ⇒ ManifestType
constructor
A new instance of ManifestType.
- #to_a ⇒ Object
Methods included from SequencescapeExcel::Helpers::Attributes
Constructor Details
#initialize(attributes = {}) ⇒ ManifestType
Returns a new instance of ManifestType.
55 56 57 |
# File 'app/sample_manifest_excel/sample_manifest_excel/manifest_type_list.rb', line 55 def initialize(attributes = {}) super end |
Instance Method Details
#==(other) ⇒ Object
63 64 65 66 67 68 |
# File 'app/sample_manifest_excel/sample_manifest_excel/manifest_type_list.rb', line 63 def ==(other) return false unless other.is_a?(self.class) name == other.name && columns == other.columns && heading == other.heading && asset_type == other.asset_type && rows_per_well == other.rows_per_well && invalid_wells == other.invalid_wells end |
#to_a ⇒ Object
59 60 61 |
# File 'app/sample_manifest_excel/sample_manifest_excel/manifest_type_list.rb', line 59 def to_a [heading, name] end |