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.
80 81 82 83 |
# File 'app/sequencescape_excel/sequencescape_excel/helpers/worksheet.rb', line 80 def initialize(workbook, ) @options = @reference = workbook.styles.add_style end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
78 79 80 |
# File 'app/sequencescape_excel/sequencescape_excel/helpers/worksheet.rb', line 78 def @options end |
#reference ⇒ Object (readonly)
Returns the value of attribute reference.
78 79 80 |
# File 'app/sequencescape_excel/sequencescape_excel/helpers/worksheet.rb', line 78 def reference @reference end |