Class: BlankCell

Inherits:
SurpassCell show all
Defined in:
lib/surpass/surpass_cell.rb

Instance Attribute Summary

Attributes inherited from SurpassCell

#index

Instance Method Summary collapse

Methods inherited from SurpassCell

#col, #row, #set_style

Constructor Details

#initialize(parent, index, format_index) ⇒ BlankCell

Returns a new instance of BlankCell.



34
35
36
37
38
# File 'lib/surpass/surpass_cell.rb', line 34

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

Instance Method Details

#to_biffObject



40
41
42
# File 'lib/surpass/surpass_cell.rb', line 40

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