Class: SequencescapeExcel::Helpers::Worksheet::Style
- Inherits:
-
Object
- Object
- SequencescapeExcel::Helpers::Worksheet::Style
- Defined in:
- app/sequencescape_excel/sequencescape_excel/helpers/worksheet.rb
Overview
Style
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#reference ⇒ Object
readonly
Returns the value of attribute reference.
Instance Method Summary collapse
-
#initialize(workbook, options) ⇒ Style
constructor
A new instance of Style.
Constructor Details
#initialize(workbook, options) ⇒ Style
Returns a new instance of Style.
39 40 41 42 |
# File 'app/sequencescape_excel/sequencescape_excel/helpers/worksheet.rb', line 39 def initialize(workbook, ) @options = @reference = workbook.styles.add_style end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options
37 38 39 |
# File 'app/sequencescape_excel/sequencescape_excel/helpers/worksheet.rb', line 37 def @options end |
#reference ⇒ Object (readonly)
Returns the value of attribute reference
37 38 39 |
# File 'app/sequencescape_excel/sequencescape_excel/helpers/worksheet.rb', line 37 def reference @reference end |