Class: StringCell

Inherits:
Cell
  • Object
show all
Defined in:
lib/surpass/cell.rb

Instance Attribute Summary

Attributes inherited from Cell

#index

Instance Method Summary collapse

Methods inherited from Cell

#col, #row, #set_style

Constructor Details

#initialize(parent, index, format_index, sst_index) ⇒ StringCell

Returns a new instance of StringCell.



19
20
21
22
23
24
# File 'lib/surpass/cell.rb', line 19

def initialize(parent, index, format_index, sst_index)
  @parent = parent
  @index = index
  @format_index = format_index
  @sst_index = sst_index
end

Instance Method Details

#to_biffObject



26
27
28
# File 'lib/surpass/cell.rb', line 26

def to_biff
  LabelSSTRecord.new(@parent.index, @index, @format_index, @sst_index).to_biff
end