Class: SampleManifestExcel::TestDownload
- Inherits:
-
Object
- Object
- SampleManifestExcel::TestDownload
- Includes:
- ActiveModel::Model, SequencescapeExcel::Helpers::Download
- Defined in:
- app/sample_manifest_excel/sample_manifest_excel/test_download.rb
Overview
Test download
Instance Attribute Summary collapse
-
#worksheet ⇒ Object
readonly
Returns the value of attribute worksheet.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ TestDownload
constructor
A new instance of TestDownload.
Methods included from SequencescapeExcel::Helpers::Download
Constructor Details
#initialize(attributes = {}) ⇒ TestDownload
Returns a new instance of TestDownload.
12 13 14 |
# File 'app/sample_manifest_excel/sample_manifest_excel/test_download.rb', line 12 def initialize(attributes = {}) @worksheet = SampleManifestExcel::Worksheet::TestWorksheet.new(attributes.merge(workbook:)) end |
Instance Attribute Details
#worksheet ⇒ Object (readonly)
Returns the value of attribute worksheet.
10 11 12 |
# File 'app/sample_manifest_excel/sample_manifest_excel/test_download.rb', line 10 def worksheet @worksheet end |