Class: SampleManifestExcel::Configuration
- Inherits:
-
SequencescapeExcel::Configuration
- Object
- SequencescapeExcel::Configuration
- SampleManifestExcel::Configuration
- Defined in:
- app/sample_manifest_excel/sample_manifest_excel/configuration.rb
Overview
Configuration class for sample manifests handling formatting, manifest types, ranges and columns.
Constant Summary collapse
- FILES =
%i[conditional_formattings manifest_types ranges columns].freeze
Instance Attribute Summary
Attributes inherited from SequencescapeExcel::Configuration
Instance Method Summary collapse
Methods inherited from SequencescapeExcel::Configuration
#add_file, #columns=, #conditional_formattings=, #initialize, #load!, #loaded?, #ranges=
Methods included from SequencescapeExcel::Helpers
Constructor Details
This class inherits a constructor from SequencescapeExcel::Configuration
Instance Method Details
#==(other) ⇒ Object
20 21 22 23 24 25 |
# File 'app/sample_manifest_excel/sample_manifest_excel/configuration.rb', line 20 def ==(other) return false unless other.is_a?(self.class) folder == other.folder && conditional_formattings == other.conditional_formattings && manifest_types == other.manifest_types && ranges == other.ranges && columns == other.columns end |
#column_sets ⇒ Object
12 13 14 |
# File 'app/sample_manifest_excel/sample_manifest_excel/configuration.rb', line 12 def column_sets @manifest_types end |
#manifest_types=(manifest_types) ⇒ Object
16 17 18 |
# File 'app/sample_manifest_excel/sample_manifest_excel/configuration.rb', line 16 def manifest_types=(manifest_types) @manifest_types = ManifestTypeList.new(manifest_types).freeze end |