Class: BlankCell

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) ⇒ BlankCell

Returns a new instance of BlankCell.



32
33
34
35
36
# File 'lib/surpass/cell.rb', line 32

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

Instance Method Details

#to_biffObject



38
39
40
# File 'lib/surpass/cell.rb', line 38

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